aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/signal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h
index 3241193ca588..8d7c2813d633 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -95,6 +95,10 @@ int sigpause(int);
int siginterrupt(int, int);
#endif
+#if __POSIX_VISIBLE >= 200809 || __BSD_VISIBLE
+void psignal(unsigned int, const char *);
+#endif
+
#if __BSD_VISIBLE
int sigblock(int);
struct __ucontext; /* XXX spec requires a complete declaration. */
@@ -102,7 +106,6 @@ int sigreturn(const struct __ucontext *);
int sigsetmask(int);
int sigstack(const struct sigstack *, struct sigstack *);
int sigvec(int, struct sigvec *, struct sigvec *);
-void psignal(unsigned int, const char *);
#endif
__END_DECLS