summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2002-06-10 17:44:38 +0000
committerfgsch <fgsch@openbsd.org>2002-06-10 17:44:38 +0000
commit71fc29858243ac3a83285bd38583a8288ac4cdef (patch)
tree51271d59b04e8ebeaef1a11c4641935ae55feda1 /lib/libc
parentuse convtime() to parse and validate key lifetime. can now (diff)
downloadwireguard-openbsd-71fc29858243ac3a83285bd38583a8288ac4cdef.tar.xz
wireguard-openbsd-71fc29858243ac3a83285bd38583a8288ac4cdef.zip
no more _NO_WEAK_ALIASES here.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/i386/SYS.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/lib/libc/arch/i386/SYS.h b/lib/libc/arch/i386/SYS.h
index 5099ef5fdc8..5e7d396973f 100644
--- a/lib/libc/arch/i386/SYS.h
+++ b/lib/libc/arch/i386/SYS.h
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: SYS.h,v 1.11 2002/02/19 22:12:36 millert Exp $
+ * $OpenBSD: SYS.h,v 1.12 2002/06/10 17:44:38 fgsch Exp $
*/
#include <machine/asm.h>
@@ -47,22 +47,6 @@
* library to replace system calls at link time.
*/
-#ifdef _NO_WEAK_ALIASES
-
-#ifdef _THREAD_SAFE
-/* Use _thread_sys_{syscall} when compiled with -D_THREAD_SAFE */
-#ifdef __STDC__
-#define SYSENTRY(x) ENTRY(_thread_sys_ ## x)
-#else /* ! __STDC__ */
-#define SYSENTRY(x) ENTRY(_thread_sys_/**/x)
-#endif /* ! __STDC__ */
-#else /* ! _THREAD_SAFE */
-/* Use {syscall} when compiling without -D_THREAD_SAFE */
-#define SYSENTRY(x) ENTRY(x)
-#endif /* ! _THREAD_SAFE */
-
-#else /* WEAK_ALIASES */
-
/* Use both _thread_sys_{syscall} and [weak] {syscall}. */
#ifdef __STDC__
@@ -76,7 +60,6 @@
.weak _C_LABEL(x); \
_C_LABEL(x) = _C_LABEL(_thread_sys_/**/x)
#endif /* ! __STDC__ */
-#endif /* WEAK_ALIASES */
#ifdef __STDC__
#define __DO_SYSCALL(x) \