Merge "Make _signal hidden in all cases."

This commit is contained in:
Christopher Ferris 2015-10-31 16:11:48 +00:00 committed by Gerrit Code Review
commit 6a8a09f7c4
1 changed files with 1 additions and 6 deletions

View File

@ -28,12 +28,7 @@
#include <signal.h>
#ifdef __LP64__
static
#else
__LIBC_HIDDEN__
#endif
sighandler_t _signal(int signum, sighandler_t handler, int flags) {
__LIBC_HIDDEN__ sighandler_t _signal(int signum, sighandler_t handler, int flags) {
struct sigaction sa;
sigemptyset(&sa.sa_mask);
sa.sa_handler = handler;