1*ce099b40Smartin/* $NetBSD: compat_shmctl.S,v 1.2 2008/04/28 20:22:58 martin Exp $ */ 25b84b398Schristos 35b84b398Schristos/*- 45b84b398Schristos * Copyright (c) 1999 The NetBSD Foundation, Inc. 55b84b398Schristos * All rights reserved. 65b84b398Schristos * 75b84b398Schristos * This code is derived from software contributed to The NetBSD Foundation 85b84b398Schristos * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 95b84b398Schristos * NASA Ames Research Center. 105b84b398Schristos * 115b84b398Schristos * Redistribution and use in source and binary forms, with or without 125b84b398Schristos * modification, are permitted provided that the following conditions 135b84b398Schristos * are met: 145b84b398Schristos * 1. Redistributions of source code must retain the above copyright 155b84b398Schristos * notice, this list of conditions and the following disclaimer. 165b84b398Schristos * 2. Redistributions in binary form must reproduce the above copyright 175b84b398Schristos * notice, this list of conditions and the following disclaimer in the 185b84b398Schristos * documentation and/or other materials provided with the distribution. 195b84b398Schristos * 205b84b398Schristos * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 215b84b398Schristos * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 225b84b398Schristos * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 235b84b398Schristos * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 245b84b398Schristos * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 255b84b398Schristos * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 265b84b398Schristos * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 275b84b398Schristos * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 285b84b398Schristos * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 295b84b398Schristos * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 305b84b398Schristos * POSSIBILITY OF SUCH DAMAGE. 315b84b398Schristos */ 325b84b398Schristos 335b84b398Schristos#include "SYS.h" 345b84b398Schristos 355b84b398SchristosWARN_REFERENCES(shmctl, \ 365b84b398Schristos "warning: reference to compatibility shmctl(); include <sys/shm.h> for correct reference") 375b84b398Schristos 385b84b398SchristosPSEUDO(shmctl,compat_14_shmctl) 39