diff options
Diffstat (limited to 'lib/libc/include/compat.h')
-rw-r--r-- | lib/libc/include/compat.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/include/compat.h b/lib/libc/include/compat.h index 7694540..b20fac5 100644 --- a/lib/libc/include/compat.h +++ b/lib/libc/include/compat.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2009 Advanced Computing Technologies LLC + * Copyright (c) 2009 Hudson River Trading LLC * Written by: John H. Baldwin <jhb@FreeBSD.org> * All rights reserved. * @@ -44,5 +44,12 @@ __sym_compat(shmctl, freebsd7_shmctl, FBSD_1.0); #undef __sym_compat +#define __weak_reference(sym,alias) \ + .weak alias;.equ alias,sym + +__weak_reference(__sys_fcntl,__fcntl_compat) + +#undef __weak_reference + #endif /* __LIBC_COMPAT_H__ */ |