compat.h (281887) | compat.h (297619) |
---|---|
1/*- 2 * Copyright (c) 2009 Hudson River Trading LLC 3 * Written by: John H. Baldwin <jhb@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/*- 2 * Copyright (c) 2009 Hudson River Trading LLC 3 * Written by: John H. Baldwin <jhb@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/lib/libc/include/compat.h 281887 2015-04-23 14:22:20Z jhb $ | 27 * $FreeBSD: head/lib/libc/include/compat.h 297619 2016-04-06 16:09:10Z andrew $ |
28 */ 29 30/* 31 * This file defines compatiblity symbol versions for old system calls. It 32 * is included in all generated system call files. 33 */ 34 35#ifndef __LIBC_COMPAT_H__ 36#define __LIBC_COMPAT_H__ 37 38#define __sym_compat(sym,impl,verid) \ 39 .symver impl, sym@verid 40 | 28 */ 29 30/* 31 * This file defines compatiblity symbol versions for old system calls. It 32 * is included in all generated system call files. 33 */ 34 35#ifndef __LIBC_COMPAT_H__ 36#define __LIBC_COMPAT_H__ 37 38#define __sym_compat(sym,impl,verid) \ 39 .symver impl, sym@verid 40 |
41#ifndef NO_COMPAT7 |
|
41__sym_compat(__semctl, freebsd7___semctl, FBSD_1.0); 42__sym_compat(msgctl, freebsd7_msgctl, FBSD_1.0); 43__sym_compat(shmctl, freebsd7_shmctl, FBSD_1.0); | 42__sym_compat(__semctl, freebsd7___semctl, FBSD_1.0); 43__sym_compat(msgctl, freebsd7_msgctl, FBSD_1.0); 44__sym_compat(shmctl, freebsd7_shmctl, FBSD_1.0); |
45#endif |
|
44 45#undef __sym_compat 46 47#define __weak_reference(sym,alias) \ 48 .weak alias;.equ alias,sym 49 50__weak_reference(__sys_fcntl,__fcntl_compat) 51 52#undef __weak_reference 53 54#endif /* __LIBC_COMPAT_H__ */ 55 | 46 47#undef __sym_compat 48 49#define __weak_reference(sym,alias) \ 50 .weak alias;.equ alias,sym 51 52__weak_reference(__sys_fcntl,__fcntl_compat) 53 54#undef __weak_reference 55 56#endif /* __LIBC_COMPAT_H__ */ 57 |