summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/avr32/sigaction.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 14:38:34 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 14:38:34 +0000
commitc836f1ad544d4b57dd1b93c480b7e625f24fb147 (patch)
tree97669f5a5ddf6d10280b4d58dc759459c9613a54 /libc/sysdeps/linux/avr32/sigaction.c
parent0dbf6abb93407b6aa83f8a3b397cafbd3095cfdc (diff)
downloaduClibc-alpine-c836f1ad544d4b57dd1b93c480b7e625f24fb147.tar.bz2
uClibc-alpine-c836f1ad544d4b57dd1b93c480b7e625f24fb147.tar.xz
Synch with trunk @ 24160
Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
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