diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-02-01 07:56:15 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-02-01 07:56:15 +0000 |
commit | 2f0b4263a663ad32afa54f525880e6a8fd93f609 (patch) | |
tree | 3f099bd1ee488466cb15a067be8ee7fe0564a82d /lib | |
parent | aab3edd93d010ec33c13e847554f4028f5c827bf (diff) |
remove PASSTHRU
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/arch/hppa/SYS.h | 5 | ||||
-rw-r--r-- | lib/libc/arch/powerpc/SYS.h | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/arch/hppa/SYS.h b/lib/libc/arch/hppa/SYS.h index 310ada7e8b4..5abbf9862bb 100644 --- a/lib/libc/arch/hppa/SYS.h +++ b/lib/libc/arch/hppa/SYS.h @@ -1,4 +1,4 @@ -/* $OpenBSD: SYS.h,v 1.2 1998/12/23 16:26:26 mickey Exp $ */ +/* $OpenBSD: SYS.h,v 1.3 1999/02/01 07:56:14 d Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -65,8 +65,6 @@ __EXIT(p,x) * specially by the threaded library, these macros insert `_thread_sys_' * in front of their name. This avoids the need to #ifdef _THREAD_SAFE * everywhere that the renamed function needs to be called. - * The PASSTHRU macro is later used for system calls that don't need - * wrapping. (XXX its a shame the loader can't do this aliasing) */ #ifdef _THREAD_SAFE /* @@ -77,7 +75,6 @@ __EXIT(p,x) # define RSYSCALL(x) __RSYSCALL(_thread_sys_,x) # define PSEUDO(x,y) __PSEUDO(_thread_sys_,x,y) /*# define SYSENTRY(x) __ENTRY(_thread_sys_,x)*/ -/*# define PASSTHRU(x) __PASSTHRU(_thread_sys_,x)*/ #else _THREAD_SAFE /* * The non-threaded library defaults to traditional syscalls where diff --git a/lib/libc/arch/powerpc/SYS.h b/lib/libc/arch/powerpc/SYS.h index 4e90914706a..135452a60f1 100644 --- a/lib/libc/arch/powerpc/SYS.h +++ b/lib/libc/arch/powerpc/SYS.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)SYS.h 8.1 (Berkeley) 6/4/93 - * $Id: SYS.h,v 1.3 1998/12/23 05:39:45 rahnds Exp $ + * $Id: SYS.h,v 1.4 1999/02/01 07:56:14 d Exp $ */ #include <sys/syscall.h> @@ -80,6 +80,5 @@ PSEUDO_SUFFIX #define RSYSCALL(x) PSEUDO(x,x) -#define PASSTHRU(x) ENTRY(x) b _CONCAT(_thread_sys_,x) #endif /* _THREAD_SAFE */ |