From 479faad8a6e7acd214a18796e364c187ecf6d912 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 17 Mar 2013 07:15:58 +0100 Subject: LT.old: add missing prototypes to silence warning Signed-off-by: Bernhard Reutner-Fischer --- libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libpthread/linuxthreads.old') 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 -- cgit v1.2.3