aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/pt-machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/pt-machine.c')
-rw-r--r--linuxthreads/pt-machine.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads/pt-machine.c b/linuxthreads/pt-machine.c
index 438008d..f6298c4 100644
--- a/linuxthreads/pt-machine.c
+++ b/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>