about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--linuxthreads/ChangeLog3
-rw-r--r--linuxthreads/sysdeps/i386/pt-machine.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 8227914557..c0acddad0e 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,8 @@
 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
 
+	* sysdeps/i386/pt-machine.h (get_eflags, set_eflags): Mark these
+	also with PT_EI.
+
 	* sysdeps/i386/i686/pt-machine.h: Remove unused inline
 	definitions.
 
diff --git a/linuxthreads/sysdeps/i386/pt-machine.h b/linuxthreads/sysdeps/i386/pt-machine.h
index 364b77c9eb..88599467ad 100644
--- a/linuxthreads/sysdeps/i386/pt-machine.h
+++ b/linuxthreads/sysdeps/i386/pt-machine.h
@@ -65,7 +65,7 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
 }
 
 
-extern inline int
+PT_EI int
 get_eflags (void)
 {
   int res;
@@ -74,7 +74,7 @@ get_eflags (void)
 }
 
 
-extern inline void
+PT_EI void
 set_eflags (int newflags)
 {
   __asm__ __volatile__ ("pushl %0; popfl" : : "r" (newflags) : "cc");