aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-09 15:10:53 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-09 15:10:53 +0000
commit7ccc548bd7b51bb1ab93db10a256344aa33b703a (patch)
treedbfefea6afa90cbba13f5a99653533fb95a1aa54 /linuxthreads
parent027acb511e2421111dd469dc6372a506c2e61ec0 (diff)
downloadglibc-7ccc548bd7b51bb1ab93db10a256344aa33b703a.tar
glibc-7ccc548bd7b51bb1ab93db10a256344aa33b703a.tar.gz
glibc-7ccc548bd7b51bb1ab93db10a256344aa33b703a.tar.bz2
glibc-7ccc548bd7b51bb1ab93db10a256344aa33b703a.zip
Update.
* sysdeps/i386/pt-machine.h (get_eflags, set_eflags): Mark these also with PT_EI.
Diffstat (limited to 'linuxthreads')
-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");