summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/pt-machine.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 23:47:35 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 23:47:35 +0000
commitbf0fdbac7c3b2a428a99f16b20b4c30f4bc83f84 (patch)
treed12b6a15a261728255887b625f9d39b5235e4bb8 /libpthread/linuxthreads/pt-machine.c
parentc927e8958d4006bc8942b6e11d20769ee9bb9a50 (diff)
sync prototypes with glibc
Diffstat (limited to 'libpthread/linuxthreads/pt-machine.c')
-rw-r--r--libpthread/linuxthreads/pt-machine.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/pt-machine.c b/libpthread/linuxthreads/pt-machine.c
index 4753bf3b5..5cd477ce9 100644
--- a/libpthread/linuxthreads/pt-machine.c
+++ b/libpthread/linuxthreads/pt-machine.c
@@ -19,4 +19,7 @@
#define PT_EI
+extern long int testandset (int *spinlock);
+extern int __compare_and_swap (long int *p, long int oldval, long int newval);
+
#include <pt-machine.h>