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/i386 | |
parent | 2fec342738cefe71910e8e8ab8636accfc5867bc (diff) |
Get rid of missing prototype warnings
Diffstat (limited to 'libc/sysdeps/linux/i386')
-rw-r--r-- | libc/sysdeps/linux/i386/__syscall_error.c | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/i386/sigaction.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/i386/__syscall_error.c b/libc/sysdeps/linux/i386/__syscall_error.c index 63540540e..7509d4409 100644 --- a/libc/sysdeps/linux/i386/__syscall_error.c +++ b/libc/sysdeps/linux/i386/__syscall_error.c @@ -25,7 +25,8 @@ #include <errno.h> #include <features.h> -int attribute_hidden __syscall_error(void) +int __syscall_error(void) attribute_hidden; +int __syscall_error(void) { register int edx __asm__ ("%edx"); __asm__ ("mov %eax, %edx\n\t" diff --git a/libc/sysdeps/linux/i386/sigaction.c b/libc/sysdeps/linux/i386/sigaction.c index 8d7ba2127..edabe3f9d 100644 --- a/libc/sysdeps/linux/i386/sigaction.c +++ b/libc/sysdeps/linux/i386/sigaction.c @@ -27,6 +27,7 @@ #define SA_RESTORER 0x04000000 +extern __typeof(sigaction) __libc_sigaction; #if defined __NR_rt_sigaction libc_hidden_proto(memcpy) |