fix possible access to uninitialized memory in shgetc (via scanf)
[musl] / arch / mipsn32 / ksigaction.h
index 9969e3b..b565f1f 100644 (file)
@@ -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();