aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/internals.h')
-rw-r--r--linuxthreads/internals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index f5915529b2..b81e5f4a63 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -27,6 +27,9 @@
#include <sys/types.h>
#include <bits/libc-tsd.h> /* for _LIBC_TSD_KEY_N */
+extern long int testandset (int *spinlock);
+extern int __compare_and_swap (long int *p, long int oldval, long int newval);
+
#include "pt-machine.h"
#include "semaphore.h"
#include "../linuxthreads_db/thread_dbP.h"