path: root/src/signal/restore.c
diff options
authorRich Felker <>2018-09-11 11:57:31 -0400
committerRich Felker <>2018-09-12 14:34:34 -0400
commitb6e59cd925cbe6c0f23cf46828d47e6e7edd17c9 (patch)
tree80f65cea882a2e729066620956758bf38d9a4fce /src/signal/restore.c
parent50fea6c75f7bb610eb33bc676224e8fbd2329338 (diff)
apply hidden visibility to sigreturn code fragments
these were overlooked in the declarations overhaul work because they are not properly declared, and the current framework even allows their declared types to vary by arch. at some point this should be cleaned up, but I'm not sure what the right way would be.
Diffstat (limited to 'src/signal/restore.c')
1 files changed, 4 insertions, 2 deletions
diff --git a/src/signal/restore.c b/src/signal/restore.c
index 873b867e..5ec4f5dd 100644
--- a/src/signal/restore.c
+++ b/src/signal/restore.c
@@ -1,10 +1,12 @@
+#include <features.h>
/* These functions will not work, but suffice for targets where the
* kernel sigaction structure does not actually use sa_restorer. */
-void __restore()
+hidden void __restore()
-void __restore_rt()
+hidden void __restore_rt()