From 8c2b377d28710215838741cd9778c8e7229ebf26 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 31 Jan 2006 14:41:37 +0000 Subject: s/IS_IN_linuxthreads/IS_IN_libpthread/, some prototypes, correct Makefile.in, disable __res_state, unavailable in resolv.h --- libpthread/linuxthreads/sysdeps/i386/pt-machine.h | 3 +++ libpthread/linuxthreads/sysdeps/i386/tls.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'libpthread/linuxthreads/sysdeps/i386') diff --git a/libpthread/linuxthreads/sysdeps/i386/pt-machine.h b/libpthread/linuxthreads/sysdeps/i386/pt-machine.h index 8c3698dc0..8483d4ef6 100644 --- a/libpthread/linuxthreads/sysdeps/i386/pt-machine.h +++ b/libpthread/linuxthreads/sysdeps/i386/pt-machine.h @@ -77,6 +77,7 @@ __compare_and_swap (long int *p, long int oldval, long int newval) } +PT_EI int get_eflags (void); PT_EI int get_eflags (void) { @@ -86,6 +87,7 @@ get_eflags (void) } +PT_EI void set_eflags (int newflags); PT_EI void set_eflags (int newflags) { @@ -93,6 +95,7 @@ set_eflags (int newflags) } +PT_EI int compare_and_swap_is_available (void); PT_EI int compare_and_swap_is_available (void) { diff --git a/libpthread/linuxthreads/sysdeps/i386/tls.h b/libpthread/linuxthreads/sysdeps/i386/tls.h index c5cb07ba3..f230a33ba 100644 --- a/libpthread/linuxthreads/sysdeps/i386/tls.h +++ b/libpthread/linuxthreads/sysdeps/i386/tls.h @@ -117,7 +117,7 @@ typedef struct # define TLS_LOAD_EBX # endif -# if !defined IS_IN_linuxthreads && !defined DO_MODIFY_LDT +# if !defined IS_IN_libpthread && !defined DO_MODIFY_LDT # include "useldt.h" /* For the structure. */ # endif # if __ASSUME_LDT_WORKS > 0 -- cgit v1.2.3