fix missing prototypes/wrong signature for psiginfo, psignal
[musl] / include / signal.h
index 1b58908..5f39ddb 100644 (file)
@@ -54,6 +54,7 @@ struct sigevent {
        int sigev_notify;
        void (*sigev_notify_function)(union sigval);
        pthread_attr_t *sigev_notify_attributes;
+       char __pad[56-3*sizeof(long)];
 };
 
 #define SIGEV_SIGNAL 0
@@ -86,6 +87,9 @@ int sigqueue(pid_t, int, const union sigval);
 int pthread_sigmask(int, const sigset_t *, sigset_t *);
 int pthread_kill(pthread_t, int);
 
+void psiginfo(const siginfo_t *, const char *);
+void psignal(int, const char *);
+
 #endif
 
 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)