Parcourir la source

sync prototypes with glibc

Mike Frysinger il y a 18 ans
Parent
commit
bf0fdbac7c
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      libpthread/linuxthreads/pt-machine.c

+ 3 - 0
libpthread/linuxthreads/pt-machine.c

@@ -19,4 +19,7 @@
 
 #define PT_EI
 
+extern long int testandset (int *spinlock);
+extern int __compare_and_swap (long int *p, long int oldval, long int newval);
+
 #include <pt-machine.h>