1*ce099b40Smartin/* $NetBSD: compat_shmctl.S,v 1.2 2008/04/28 20:22:58 martin Exp $ */ 214c25e36Schristos 314c25e36Schristos/*- 414c25e36Schristos * Copyright (c) 1999 The NetBSD Foundation, Inc. 514c25e36Schristos * All rights reserved. 614c25e36Schristos * 714c25e36Schristos * This code is derived from software contributed to The NetBSD Foundation 814c25e36Schristos * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 914c25e36Schristos * NASA Ames Research Center. 1014c25e36Schristos * 1114c25e36Schristos * Redistribution and use in source and binary forms, with or without 1214c25e36Schristos * modification, are permitted provided that the following conditions 1314c25e36Schristos * are met: 1414c25e36Schristos * 1. Redistributions of source code must retain the above copyright 1514c25e36Schristos * notice, this list of conditions and the following disclaimer. 1614c25e36Schristos * 2. Redistributions in binary form must reproduce the above copyright 1714c25e36Schristos * notice, this list of conditions and the following disclaimer in the 1814c25e36Schristos * documentation and/or other materials provided with the distribution. 1914c25e36Schristos * 2014c25e36Schristos * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 2114c25e36Schristos * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2214c25e36Schristos * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2314c25e36Schristos * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 2414c25e36Schristos * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2514c25e36Schristos * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2614c25e36Schristos * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2714c25e36Schristos * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2814c25e36Schristos * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2914c25e36Schristos * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 3014c25e36Schristos * POSSIBILITY OF SUCH DAMAGE. 3114c25e36Schristos */ 3214c25e36Schristos 3314c25e36Schristos#include "SYS.h" 3414c25e36Schristos 3514c25e36SchristosWARN_REFERENCES(shmctl, \ 3614c25e36Schristos "warning: reference to compatibility shmctl(); include <sys/shm.h> for correct reference") 3714c25e36Schristos 3814c25e36SchristosPSEUDO(shmctl,compat_14_shmctl) 39