From 75df202c7127f8cb6bc08ff56e52bd38af3265e7 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 24 Jan 2006 14:40:45 +0000 Subject: Use __typeof for __longjmp, remove alias to longjmp for cris, should be covered by common/longjmp.c --- libc/sysdeps/linux/common/longjmp.c | 2 +- libc/sysdeps/linux/cris/__longjmp.S | 1 - libc/sysdeps/linux/mips/__longjmp.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux') 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 -extern void __longjmp (__jmp_buf __env, int val); +extern __typeof(longjmp) __longjmp; libc_hidden_proto(__longjmp) #ifndef __GNUC__ -- cgit v1.2.3