소스 검색

LT.old: add missing prototypes

to silence warning

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 11 년 전
부모
커밋
479faad8a6
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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