summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/i386
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-31 14:41:37 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-31 14:41:37 +0000
commit8c2b377d28710215838741cd9778c8e7229ebf26 (patch)
treed24bddc26b796f7665f10720a0c5242f0f968541 /libpthread/linuxthreads/sysdeps/i386
parentda6cf3047ecad6e3f2483932134640a77a2c3556 (diff)
s/IS_IN_linuxthreads/IS_IN_libpthread/, some prototypes, correct Makefile.in, disable __res_state, unavailable in resolv.h
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/i386')
-rw-r--r--libpthread/linuxthreads/sysdeps/i386/pt-machine.h3
-rw-r--r--libpthread/linuxthreads/sysdeps/i386/tls.h2
2 files changed, 4 insertions, 1 deletions
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