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/x86_64/sigaction.c | |
parent | 2fec342738cefe71910e8e8ab8636accfc5867bc (diff) |
Get rid of missing prototype warnings
Diffstat (limited to 'libc/sysdeps/linux/x86_64/sigaction.c')
-rw-r--r-- | libc/sysdeps/linux/x86_64/sigaction.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/x86_64/sigaction.c b/libc/sysdeps/linux/x86_64/sigaction.c index 63d146136..b8d3861a4 100644 --- a/libc/sysdeps/linux/x86_64/sigaction.c +++ b/libc/sysdeps/linux/x86_64/sigaction.c @@ -33,7 +33,9 @@ /* We do not globally define the SA_RESTORER flag so do it here. */ #define SA_RESTORER 0x04000000 -#if defined __NR_rt_sigaction +extern __typeof(sigaction) __libc_sigaction; + +#ifdef __NR_rt_sigaction /* Using the hidden attribute here does not change the code but it helps to avoid warnings. */ extern void restore_rt (void) asm ("__restore_rt") attribute_hidden; |