diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-26 22:04:19 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-26 22:04:19 +0000 |
commit | 05e75260d6952308d7c865ff67c0e3678b7ba935 (patch) | |
tree | ac1a5d0ab7904783917b52ffa5489e8367743ff7 /libc/sysdeps/linux/mips | |
parent | 2fec342738cefe71910e8e8ab8636accfc5867bc (diff) |
Get rid of missing prototype warnings
Diffstat (limited to 'libc/sysdeps/linux/mips')
-rw-r--r-- | libc/sysdeps/linux/mips/__longjmp.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/__syscall_error.c | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/sigaction.c | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/mips/__longjmp.c b/libc/sysdeps/linux/mips/__longjmp.c index 7366fc22d..ee9c455cc 100644 --- a/libc/sysdeps/linux/mips/__longjmp.c +++ b/libc/sysdeps/linux/mips/__longjmp.c @@ -28,7 +28,7 @@ extern void __longjmp (__jmp_buf __env, int __val) attribute_noreturn; libc_hidden_proto(__longjmp) -void attribute_noreturn __longjmp (__jmp_buf env, int val_arg) +void __longjmp (__jmp_buf env, int val_arg) { /* gcc 1.39.19 miscompiled the longjmp routine (as it did setjmp before the hack around it); force it to use $a1 for the longjmp value. diff --git a/libc/sysdeps/linux/mips/__syscall_error.c b/libc/sysdeps/linux/mips/__syscall_error.c index 7d24ed233..5e109a83b 100644 --- a/libc/sysdeps/linux/mips/__syscall_error.c +++ b/libc/sysdeps/linux/mips/__syscall_error.c @@ -10,7 +10,8 @@ /* This routine is jumped to by all the syscall handlers, to stash * an error number into errno. */ -int attribute_hidden __syscall_error(int err_no) +int __syscall_error(int err_no) attribute_hidden; +int __syscall_error(int err_no) { __set_errno(err_no); return -1; diff --git a/libc/sysdeps/linux/mips/sigaction.c b/libc/sysdeps/linux/mips/sigaction.c index f881fac5d..85cdabe79 100644 --- a/libc/sysdeps/linux/mips/sigaction.c +++ b/libc/sysdeps/linux/mips/sigaction.c @@ -27,8 +27,9 @@ #define SA_RESTORER 0x04000000 +extern __typeof(sigaction) __libc_sigaction; -#if defined __NR_rt_sigaction +#ifdef __NR_rt_sigaction libc_hidden_proto(memcpy) |