Browse Source

LT.old: add missing prototypes

to silence warning

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 11 years ago
parent
commit
479faad8a6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h

+ 3 - 0
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