summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_sigaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_sigaction.c')
-rw-r--r--lib/libpthread/thread/thr_sigaction.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_sigaction.c b/lib/libpthread/thread/thr_sigaction.c
index 7fa8ebf..f2f7286 100644
--- a/lib/libpthread/thread/thr_sigaction.c
+++ b/lib/libpthread/thread/thr_sigaction.c
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-sigaction(int sig, const struct sigaction * act, struct sigaction * oact)
+_libc_sigaction(int sig, const struct sigaction * act, struct sigaction * oact)
{
int ret = 0;
struct sigaction gact;
@@ -105,4 +105,6 @@ sigaction(int sig, const struct sigaction * act, struct sigaction * oact)
/* Return the completion status: */
return (ret);
}
+
+__weak_reference(_libc_sigaction, sigaction);
#endif
OpenPOWER on IntegriCloud