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