summaryrefslogtreecommitdiff
path: root/lib/libc/arch/i386/SYS.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-06-10 17:44:39 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-06-10 17:44:39 +0000
commit2ea1a151ec565a6ab9e551f32eaa28107ca8c8ec (patch)
tree7bb8dae5e4fc5da42462133faae378eae8b3e1cd /lib/libc/arch/i386/SYS.h
parent7b31a8311b0d2d4546217e9f3ce4f80604c88957 (diff)
no more _NO_WEAK_ALIASES here.
Diffstat (limited to 'lib/libc/arch/i386/SYS.h')
-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) \