about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-21 09:43:11 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-21 09:43:11 +0000
commitf12944ec15f451d0d1ea77cadb9ff40350075884 (patch)
tree11e7427c96ad92eb1c4cd6ef4e75f56bf332d621 /linuxthreads
parent8619129f3f0d5a9db6208be5bae6c2a8c9ce61a5 (diff)
downloadglibc-f12944ec15f451d0d1ea77cadb9ff40350075884.tar.gz
glibc-f12944ec15f451d0d1ea77cadb9ff40350075884.tar.xz
glibc-f12944ec15f451d0d1ea77cadb9ff40350075884.zip
Update.
1998-04-21  Ulrich Drepper  <drepper@cygnus.com>

	* ptlongjmp.c: Add prorotypes for __libc_siglongjmp and
	__libc_longjmp.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/ptlongjmp.c8
2 files changed, 13 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index ba2a20f4d0..0d276a9aba 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
+
+	* ptlongjmp.c: Add prorotypes for __libc_siglongjmp and
+	__libc_longjmp.
+
 1998-04-20 14:55  Ulrich Drepper  <drepper@cygnus.com>
 
 	* Makefile (libpthread-routines): Add ptlongjmp and spinlock.
diff --git a/linuxthreads/ptlongjmp.c b/linuxthreads/ptlongjmp.c
index 1397dba43a..c5704f9e9a 100644
--- a/linuxthreads/ptlongjmp.c
+++ b/linuxthreads/ptlongjmp.c
@@ -19,6 +19,14 @@
 #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();