summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-11 11:57:31 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:34 -0400
commitb6e59cd925cbe6c0f23cf46828d47e6e7edd17c9 (patch)
tree80f65cea882a2e729066620956758bf38d9a4fce /src/internal
parent50fea6c75f7bb610eb33bc676224e8fbd2329338 (diff)
downloadmusl-b6e59cd925cbe6c0f23cf46828d47e6e7edd17c9.tar.gz
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/internal')
-rw-r--r--src/internal/ksigaction.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/internal/ksigaction.h b/src/internal/ksigaction.h
index 1d8d9646..8ebd5938 100644
--- a/src/internal/ksigaction.h
+++ b/src/internal/ksigaction.h
@@ -1,3 +1,5 @@
+#include <features.h>
+
/* This is the structure used for the rt_sigaction syscall on most archs,
* but it can be overridden by a file with the same name in the top-level
* arch dir for a given arch, if necessary. */
@@ -8,4 +10,4 @@ struct k_sigaction {
unsigned mask[2];
};
-void __restore(), __restore_rt();
+hidden void __restore(), __restore_rt();