diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-24 14:40:45 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-24 14:40:45 +0000 |
commit | 75df202c7127f8cb6bc08ff56e52bd38af3265e7 (patch) | |
tree | d0769028724f8dbbb75ce5cecbf05d346ffa7876 | |
parent | ba782c98a8230abc42c52972dc413a54423605f7 (diff) |
Use __typeof for __longjmp, remove alias to longjmp for cris, should be covered by common/longjmp.c
-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__ |