OSDN Git Service

remove spurious const keyword in sigqueue declaration
authorRich Felker <dalias@aerifal.cx>
Sat, 10 Mar 2018 23:03:17 +0000 (18:03 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 10 Mar 2018 23:19:41 +0000 (18:19 -0500)
this must have been taken from POSIX without realizing that it was
meaningless. the resolution to Austin Group issue #844 removed it from
the standard.

include/signal.h

index 4001ff4..a4f85cc 100644 (file)
@@ -210,7 +210,7 @@ int sigpending(sigset_t *);
 int sigwait(const sigset_t *__restrict, int *__restrict);
 int sigwaitinfo(const sigset_t *__restrict, siginfo_t *__restrict);
 int sigtimedwait(const sigset_t *__restrict, siginfo_t *__restrict, const struct timespec *__restrict);
-int sigqueue(pid_t, int, const union sigval);
+int sigqueue(pid_t, int, union sigval);
 
 int pthread_sigmask(int, const sigset_t *__restrict, sigset_t *__restrict);
 int pthread_kill(pthread_t, int);