diff options
-rw-r--r-- | libc/sysdeps/linux/common/longjmp.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/cris/__longjmp.S | 1 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/__longjmp.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/longjmp.c b/libc/sysdeps/linux/common/longjmp.c index 8c3679374..f80f3d8f1 100644 --- a/libc/sysdeps/linux/common/longjmp.c +++ b/libc/sysdeps/linux/common/longjmp.c @@ -22,7 +22,7 @@ libc_hidden_proto(sigprocmask) -extern void __longjmp (__jmp_buf __env, int val); +extern __typeof(longjmp) __longjmp; libc_hidden_proto(__longjmp) /* Set the signal mask to the one specified in ENV, and jump diff --git a/libc/sysdeps/linux/cris/__longjmp.S b/libc/sysdeps/linux/cris/__longjmp.S index a4a5d4994..51021131e 100644 --- a/libc/sysdeps/linux/cris/__longjmp.S +++ b/libc/sysdeps/linux/cris/__longjmp.S @@ -37,4 +37,3 @@ ENTRY (__longjmp) END (__longjmp) libc_hidden_def(__longjmp) -strong_alias(__longjmp,longjmp) diff --git a/libc/sysdeps/linux/mips/__longjmp.c b/libc/sysdeps/linux/mips/__longjmp.c index 21042e9ad..557ea8be8 100644 --- a/libc/sysdeps/linux/mips/__longjmp.c +++ b/libc/sysdeps/linux/mips/__longjmp.c @@ -22,7 +22,7 @@ #include <stdlib.h> -extern void __longjmp (__jmp_buf __env, int val); +extern __typeof(longjmp) __longjmp; libc_hidden_proto(__longjmp) #ifndef __GNUC__ |