Przeglądaj źródła

sync prototypes with glibc

Mike Frysinger 19 lat temu
rodzic
commit
bf0fdbac7c
1 zmienionych plików z 3 dodań i 0 usunięć
  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>