summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/avr32/sigaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/avr32/sigaction.c')
-rw-r--r--libc/sysdeps/linux/avr32/sigaction.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/avr32/sigaction.c b/libc/sysdeps/linux/avr32/sigaction.c
index 6b6b3466c..05caec7ee 100644
--- a/libc/sysdeps/linux/avr32/sigaction.c
+++ b/libc/sysdeps/linux/avr32/sigaction.c
@@ -16,6 +16,8 @@ extern void __default_rt_sa_restorer(void);
/* Experimentally off - libc_hidden_proto(memcpy) */
+extern __typeof(sigaction) __libc_sigaction;
+
/*
* If act is not NULL, change the action for sig to *act.
* If oact is not NULL, put the old action for sig in *oact.
@@ -53,7 +55,7 @@ int __libc_sigaction(int signum, const struct sigaction *act,
}
#ifndef LIBC_SIGACTION
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
weak_alias(__libc_sigaction, sigaction)
libc_hidden_weak(sigaction)
#endif