diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 19:33:35 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 19:33:35 +0000 |
commit | f4256c083607375714dc4bde0e9c09d18265d90a (patch) | |
tree | a21680fd2b94d2179f9333b9d78bfd2728014883 /libc/sysdeps/linux/common/alarm.c | |
parent | e1caf0011e32fc3cb33f97d711cbebe0d5fb79bd (diff) |
Implement more hidden
Diffstat (limited to 'libc/sysdeps/linux/common/alarm.c')
-rw-r--r-- | libc/sysdeps/linux/common/alarm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/alarm.c b/libc/sysdeps/linux/common/alarm.c index eec941d07..8239cec5b 100644 --- a/libc/sysdeps/linux/common/alarm.c +++ b/libc/sysdeps/linux/common/alarm.c @@ -12,10 +12,11 @@ #include "syscalls.h" #include <unistd.h> #ifdef __NR_alarm -_syscall1(unsigned int, alarm, unsigned int, seconds); +#define __NR___alarm __NR_alarm +attribute_hidden _syscall1(unsigned int, __alarm, unsigned int, seconds); #else #include <sys/time.h> -unsigned int alarm(unsigned int seconds) +unsigned int attribute_hidden __alarm(unsigned int seconds) { struct itimerval old, new; unsigned int retval; @@ -34,3 +35,4 @@ unsigned int alarm(unsigned int seconds) return retval; } #endif +strong_alias(__alarm,alarm) |