OSDN Git Service

LT.old: add missing prototypes
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 17 Mar 2013 06:15:58 +0000 (07:15 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 20 Mar 2013 09:10:17 +0000 (10:10 +0100)
to silence warning

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h

index ed69153..ed1fa30 100644 (file)
@@ -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