Browse Source

sync prototypes with glibc

Mike Frysinger 20 năm trước cách đây
mục cha
commit
bf0fdbac7c
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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>