summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/sigaction.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-06-18 01:08:28 +0000
committerRoland McGrath <roland@gnu.org>2001-06-18 01:08:28 +0000
commit9b17c7605f47e56accbd8e835d469aca77aecea5 (patch)
tree346bc202c4ba6e6e21970bda7eb6bbfd39e62366 /sysdeps/unix/sysv/linux/i386/sigaction.c
parent844fa8251dc8a2b732f0c0ae2529720aff67b45c (diff)
downloadglibc-9b17c7605f47e56accbd8e835d469aca77aecea5.tar.gz
2001-06-17 Roland McGrath <roland@frob.com>
* sysdeps/unix/sysv/linux/i386/sigaction.c (restore, restore_rt): Declare these without `static', to avoid warning that we haven't defined them.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/sigaction.c')
-rw-r--r--sysdeps/unix/sysv/linux/i386/sigaction.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sigaction.c b/sysdeps/unix/sysv/linux/i386/sigaction.c
index c3b7171ed6..056eb28c95 100644
--- a/sysdeps/unix/sysv/linux/i386/sigaction.c
+++ b/sysdeps/unix/sysv/linux/i386/sigaction.c
@@ -1,5 +1,5 @@
/* POSIX.1 `sigaction' call for Linux/i386.
- Copyright (C) 1991, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1991,95,96,97,98,99,2000,01 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -47,9 +47,9 @@ int __libc_missing_rt_sigs;
#endif
#ifdef __NR_rt_sigaction
-static void restore_rt (void) asm ("__restore_rt");
+void restore_rt (void) asm ("__restore_rt");
#endif
-static void restore (void) asm ("__restore");
+void restore (void) asm ("__restore");
/* If ACT is not NULL, change the action for SIG to *ACT.