summaryrefslogtreecommitdiff
path: root/libc/signal
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal')
-rw-r--r--libc/signal/raise.c2
-rw-r--r--libc/signal/sigaction.c2
-rw-r--r--libc/signal/sigblock.c2
-rw-r--r--libc/signal/sighold.c2
-rw-r--r--libc/signal/sigignore.c2
-rw-r--r--libc/signal/sigintr.c2
-rw-r--r--libc/signal/sigjmp.c2
-rw-r--r--libc/signal/signal.c2
-rw-r--r--libc/signal/sigpause.c2
-rw-r--r--libc/signal/sigrelse.c2
-rw-r--r--libc/signal/sigset.c4
-rw-r--r--libc/signal/sigsetmask.c2
-rw-r--r--libc/signal/sigwait.c2
-rw-r--r--libc/signal/sysv_signal.c2
14 files changed, 15 insertions, 15 deletions
diff --git a/libc/signal/raise.c b/libc/signal/raise.c
index 28e511635..e304786c1 100644
--- a/libc/signal/raise.c
+++ b/libc/signal/raise.c
@@ -8,7 +8,7 @@
#include <sys/types.h>
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
libc_hidden_proto(kill)
int __raise (int signo) attribute_hidden;
diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c
index 88fb6b7a4..221951eeb 100644
--- a/libc/signal/sigaction.c
+++ b/libc/signal/sigaction.c
@@ -109,7 +109,7 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
#endif
#ifndef LIBC_SIGACTION
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
weak_alias(__libc_sigaction,sigaction)
libc_hidden_weak(sigaction)
#endif
diff --git a/libc/signal/sigblock.c b/libc/signal/sigblock.c
index 1f1a9fe98..5aa3867e4 100644
--- a/libc/signal/sigblock.c
+++ b/libc/signal/sigblock.c
@@ -20,7 +20,7 @@
#include <errno.h>
#include <signal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
#include "sigset-cvt-mask.h"
diff --git a/libc/signal/sighold.c b/libc/signal/sighold.c
index da723ac86..728c10aef 100644
--- a/libc/signal/sighold.c
+++ b/libc/signal/sighold.c
@@ -22,7 +22,7 @@
#include <stddef.h>
#include <signal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
libc_hidden_proto(sigaddset)
int sighold (int sig)
diff --git a/libc/signal/sigignore.c b/libc/signal/sigignore.c
index 17d93ce19..58d1c9bfd 100644
--- a/libc/signal/sigignore.c
+++ b/libc/signal/sigignore.c
@@ -24,7 +24,7 @@
#include <signal.h>
#include <string.h> /* For the real memset prototype. */
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
int sigignore (int sig)
{
diff --git a/libc/signal/sigintr.c b/libc/signal/sigintr.c
index 43136379f..351c82b75 100644
--- a/libc/signal/sigintr.c
+++ b/libc/signal/sigintr.c
@@ -20,7 +20,7 @@
#include <signal.h>
#include <errno.h>
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
/* If INTERRUPT is nonzero, make signal SIG interrupt system calls
(causing them to fail with EINTR); if INTERRUPT is zero, make system
diff --git a/libc/signal/sigjmp.c b/libc/signal/sigjmp.c
index d143e9376..d83b49a0b 100644
--- a/libc/signal/sigjmp.c
+++ b/libc/signal/sigjmp.c
@@ -21,7 +21,7 @@
#include <signal.h>
#include <libc-internal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
/* This function is called by the `sigsetjmp' macro
before doing a `__setjmp' on ENV[0].__jmpbuf.
diff --git a/libc/signal/signal.c b/libc/signal/signal.c
index 991a14f1b..04705703a 100644
--- a/libc/signal/signal.c
+++ b/libc/signal/signal.c
@@ -22,7 +22,7 @@
#include <signal.h>
#include <string.h> /* For the real memset prototype. */
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
sigset_t _sigintr attribute_hidden; /* Set by siginterrupt. */
diff --git a/libc/signal/sigpause.c b/libc/signal/sigpause.c
index 8c99af0a1..952350b6a 100644
--- a/libc/signal/sigpause.c
+++ b/libc/signal/sigpause.c
@@ -24,7 +24,7 @@
#include <signal.h>
#include <stddef.h> /* For NULL. */
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
libc_hidden_proto(sigdelset)
libc_hidden_proto(sigsuspend)
diff --git a/libc/signal/sigrelse.c b/libc/signal/sigrelse.c
index 8532a88f3..61bd32df7 100644
--- a/libc/signal/sigrelse.c
+++ b/libc/signal/sigrelse.c
@@ -22,7 +22,7 @@
#include <stddef.h>
#include <signal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
libc_hidden_proto(sigdelset)
int sigrelse (int sig)
diff --git a/libc/signal/sigset.c b/libc/signal/sigset.c
index db1fb7d74..f4c04dc3e 100644
--- a/libc/signal/sigset.c
+++ b/libc/signal/sigset.c
@@ -22,8 +22,8 @@
#include <signal.h>
#include <string.h> /* For the real memset prototype. */
-libc_hidden_proto(sigaction)
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigaction) */
+/* libc_hidden_proto(sigprocmask) */
/* Set the disposition for SIG. */
__sighandler_t sigset (int sig, __sighandler_t disp)
diff --git a/libc/signal/sigsetmask.c b/libc/signal/sigsetmask.c
index 2c074674d..ef8559ec8 100644
--- a/libc/signal/sigsetmask.c
+++ b/libc/signal/sigsetmask.c
@@ -20,7 +20,7 @@
#include <errno.h>
#include <signal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
#include "sigset-cvt-mask.h"
diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c
index 99832f809..117c1c4b3 100644
--- a/libc/signal/sigwait.c
+++ b/libc/signal/sigwait.c
@@ -38,7 +38,7 @@ int __sigwait (const sigset_t *set, int *sig)
#else /* __UCLIBC_HAS_REALTIME__ */
/* variant without REALTIME extensions */
libc_hidden_proto(sigfillset)
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
libc_hidden_proto(sigsuspend)
static int was_sig; /* obviously not thread-safe */
diff --git a/libc/signal/sysv_signal.c b/libc/signal/sysv_signal.c
index 6eebf201b..c0cd19a95 100644
--- a/libc/signal/sysv_signal.c
+++ b/libc/signal/sysv_signal.c
@@ -20,7 +20,7 @@
#include <signal.h>
#include <string.h> /* For the real memset prototype. */
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
/* Tolerate non-threads versions of Posix */
#ifndef SA_ONESHOT