summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/sysdeps
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-03-17 07:15:58 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-03-20 10:10:17 +0100
commit479faad8a6e7acd214a18796e364c187ecf6d912 (patch)
treed274b9bd3408289a6d922148e4b0f49a58fe4a6a /libpthread/linuxthreads.old/sysdeps
parentb3a3b27c58cef94a7dedf95eec5a89a10a964d78 (diff)
LT.old: add missing prototypes
to silence warning Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/linuxthreads.old/sysdeps')
-rw-r--r--libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h b/libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h
index ed6915387..ed1fa30b1 100644
--- a/libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h
+++ b/libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h
@@ -32,6 +32,9 @@
# define PT_EI __extern_always_inline
# endif
+extern long int testandset (int *);
+extern int __compare_and_swap (long int *, long int, long int);
+
/* Get some notion of the current stack. Need not be exactly the top
of the stack, just something somewhere in the current frame. */
# define CURRENT_STACK_FRAME stack_pointer