Add prorotypes for __libc_siglongjmp and __libc_longjmp.
authordrepper <drepper>
Tue, 21 Apr 1998 09:42:59 +0000 (09:42 +0000)
committerdrepper <drepper>
Tue, 21 Apr 1998 09:42:59 +0000 (09:42 +0000)
linuxthreads/ptlongjmp.c

index 1397dba..c5704f9 100644 (file)
 #include "pthread.h"
 #include "internals.h"
 
+/* These functions are not declared anywhere since they shouldn't be
+   used at another place but here.  */
+extern void __libc_siglongjmp (sigjmp_buf env, int val)
+     __attribute__ ((noreturn));
+extern void __libc_longjmp (sigjmp_buf env, int val)
+     __attribute__ ((noreturn));
+
+
 static void pthread_cleanup_upto(__jmp_buf target)
 {
   pthread_descr self = thread_self();