1*ce099b40Smartin/* $NetBSD: compat_shmctl.S,v 1.2 2008/04/28 20:22:58 martin Exp $ */ 2eebf1202Schristos 3eebf1202Schristos/*- 4eebf1202Schristos * Copyright (c) 1999 The NetBSD Foundation, Inc. 5eebf1202Schristos * All rights reserved. 6eebf1202Schristos * 7eebf1202Schristos * This code is derived from software contributed to The NetBSD Foundation 8eebf1202Schristos * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 9eebf1202Schristos * NASA Ames Research Center. 10eebf1202Schristos * 11eebf1202Schristos * Redistribution and use in source and binary forms, with or without 12eebf1202Schristos * modification, are permitted provided that the following conditions 13eebf1202Schristos * are met: 14eebf1202Schristos * 1. Redistributions of source code must retain the above copyright 15eebf1202Schristos * notice, this list of conditions and the following disclaimer. 16eebf1202Schristos * 2. Redistributions in binary form must reproduce the above copyright 17eebf1202Schristos * notice, this list of conditions and the following disclaimer in the 18eebf1202Schristos * documentation and/or other materials provided with the distribution. 19eebf1202Schristos * 20eebf1202Schristos * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 21eebf1202Schristos * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 22eebf1202Schristos * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23eebf1202Schristos * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 24eebf1202Schristos * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25eebf1202Schristos * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26eebf1202Schristos * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27eebf1202Schristos * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28eebf1202Schristos * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29eebf1202Schristos * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30eebf1202Schristos * POSSIBILITY OF SUCH DAMAGE. 31eebf1202Schristos */ 32eebf1202Schristos 33eebf1202Schristos#include "SYS.h" 34eebf1202Schristos 35eebf1202SchristosWARN_REFERENCES(shmctl, \ 36eebf1202Schristos "warning: reference to compatibility shmctl(); include <sys/shm.h> for correct reference") 37eebf1202Schristos 38eebf1202SchristosPSEUDO(shmctl,compat_14_shmctl) 39