aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/ksigaction.h4
-rw-r--r--arch/mips64/ksigaction.h4
-rw-r--r--arch/mipsn32/ksigaction.h4
-rw-r--r--arch/sh/ksigaction.h4
-rw-r--r--arch/x32/ksigaction.h4
-rw-r--r--arch/x86_64/ksigaction.h4
6 files changed, 18 insertions, 6 deletions
diff --git a/arch/mips/ksigaction.h b/arch/mips/ksigaction.h
index 3127f7c..63fdfab 100644
--- a/arch/mips/ksigaction.h
+++ b/arch/mips/ksigaction.h
@@ -1,3 +1,5 @@
+#include <features.h>
+
struct k_sigaction {
unsigned flags;
void (*handler)(int);
@@ -8,4 +10,4 @@ struct k_sigaction {
void (*restorer)();
};
-void __restore(), __restore_rt();
+hidden void __restore(), __restore_rt();
diff --git a/arch/mips64/ksigaction.h b/arch/mips64/ksigaction.h
index 55ba18e..c16e473 100644
--- a/arch/mips64/ksigaction.h
+++ b/arch/mips64/ksigaction.h
@@ -1,3 +1,5 @@
+#include <features.h>
+
struct k_sigaction {
unsigned flags;
void (*handler)(int);
@@ -5,4 +7,4 @@ struct k_sigaction {
void (*restorer)();
};
-void __restore(), __restore_rt();
+hidden void __restore(), __restore_rt();
diff --git a/arch/mipsn32/ksigaction.h b/arch/mipsn32/ksigaction.h
index 9969e3b..b565f1f 100644
--- a/arch/mipsn32/ksigaction.h
+++ b/arch/mipsn32/ksigaction.h
@@ -1,3 +1,5 @@
+#include <features.h>
+
struct k_sigaction {
unsigned flags;
void (*handler)(int);
@@ -5,4 +7,4 @@ struct k_sigaction {
void (*restorer)();
};
-void __restore(), __restore_rt();
+hidden void __restore(), __restore_rt();
diff --git a/arch/sh/ksigaction.h b/arch/sh/ksigaction.h
index 0c652be..714ae61 100644
--- a/arch/sh/ksigaction.h
+++ b/arch/sh/ksigaction.h
@@ -1,3 +1,5 @@
+#include <features.h>
+
struct k_sigaction {
void (*handler)(int);
unsigned long flags;
@@ -5,4 +7,4 @@ struct k_sigaction {
unsigned mask[2];
};
-extern unsigned char __restore[], __restore_rt[];
+extern hidden unsigned char __restore[], __restore_rt[];
diff --git a/arch/x32/ksigaction.h b/arch/x32/ksigaction.h
index 7743c5c..c40e356 100644
--- a/arch/x32/ksigaction.h
+++ b/arch/x32/ksigaction.h
@@ -1,3 +1,5 @@
+#include <features.h>
+
struct k_sigaction {
void (*handler)(int);
unsigned long flags;
@@ -5,5 +7,5 @@ struct k_sigaction {
unsigned mask[2];
};
-void __restore_rt();
+hidden void __restore_rt();
#define __restore __restore_rt
diff --git a/arch/x86_64/ksigaction.h b/arch/x86_64/ksigaction.h
index 7743c5c..c40e356 100644
--- a/arch/x86_64/ksigaction.h
+++ b/arch/x86_64/ksigaction.h
@@ -1,3 +1,5 @@
+#include <features.h>
+
struct k_sigaction {
void (*handler)(int);
unsigned long flags;
@@ -5,5 +7,5 @@ struct k_sigaction {
unsigned mask[2];
};
-void __restore_rt();
+hidden void __restore_rt();
#define __restore __restore_rt