1194910Sjhb/*-
2194910Sjhb * Copyright (c) 2009 Advanced Computing Technologies LLC
3194910Sjhb * Written by: John H. Baldwin <jhb@FreeBSD.org>
4194910Sjhb * All rights reserved.
5194910Sjhb *
6194910Sjhb * Redistribution and use in source and binary forms, with or without
7194910Sjhb * modification, are permitted provided that the following conditions
8194910Sjhb * are met:
9194910Sjhb * 1. Redistributions of source code must retain the above copyright
10194910Sjhb *    notice, this list of conditions and the following disclaimer.
11194910Sjhb * 2. Redistributions in binary form must reproduce the above copyright
12194910Sjhb *    notice, this list of conditions and the following disclaimer in the
13194910Sjhb *    documentation and/or other materials provided with the distribution.
14194910Sjhb *
15194910Sjhb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16194910Sjhb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17194910Sjhb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18194910Sjhb * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19194910Sjhb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20194910Sjhb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21194910Sjhb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22194910Sjhb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23194910Sjhb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24194910Sjhb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25194910Sjhb * SUCH DAMAGE.
26194910Sjhb *
27194910Sjhb * $FreeBSD$
28194910Sjhb */
29194910Sjhb
30194910Sjhb/*
31194910Sjhb * This file defines compatiblity symbol versions for old system calls.  It
32194910Sjhb * is included in all generated system call files.
33194910Sjhb */
34194910Sjhb
35194910Sjhb#ifndef __LIBC_COMPAT_H__
36194910Sjhb#define	__LIBC_COMPAT_H__
37194910Sjhb
38194910Sjhb#define	__sym_compat(sym,impl,verid)	\
39215144Sdim	.symver impl, sym@verid
40194910Sjhb
41194910Sjhb__sym_compat(__semctl, freebsd7___semctl, FBSD_1.0);
42194910Sjhb__sym_compat(msgctl, freebsd7_msgctl, FBSD_1.0);
43194910Sjhb__sym_compat(shmctl, freebsd7_shmctl, FBSD_1.0);
44194910Sjhb
45194910Sjhb#undef __sym_compat
46194910Sjhb
47194910Sjhb#endif	/* __LIBC_COMPAT_H__ */
48194910Sjhb
49