Displaying 1 result from an estimated 1 matches for "act_type".
Did you mean:
ct_type
2020 Aug 29
0
[klibc:master] signal: Add config flag for additional sigaction fixup
...diff --git a/usr/klibc/sigaction.c b/usr/klibc/sigaction.c
index d2223843..a8181a41 100644
--- a/usr/klibc/sigaction.c
+++ b/usr/klibc/sigaction.c
@@ -8,11 +8,17 @@
#include <klibc/sysconfig.h>
__extern void __sigreturn(void);
+
+#if _KLIBC_NEEDS_SIGACTION_FIXUP
+typedef struct sigaction *act_type;
+#else
+typedef const struct sigaction *act_type;
+#endif
+
#if _KLIBC_USE_RT_SIG
-__extern int __rt_sigaction(int, const struct sigaction *, struct sigaction *,
- size_t);
+__extern int __rt_sigaction(int, act_type, struct sigaction *, size_t);
#else
-__extern int __sigaction(int, const s...