summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/gettimeofday.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-02 00:41:37 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-02 00:41:37 +0000
commit9acef89e60381a298801e4b221d66b1538072b28 (patch)
tree76643b24b4f8fc6590e392672102e5b30499ba73 /libc/sysdeps/linux/common/gettimeofday.c
parenta4a74b5760c426cede2ef36d35cb873f98b9f17b (diff)
downloaduClibc-alpine-9acef89e60381a298801e4b221d66b1538072b28.tar.bz2
uClibc-alpine-9acef89e60381a298801e4b221d66b1538072b28.tar.xz
Merge from trunk. More to come you betcha'.
Diffstat (limited to 'libc/sysdeps/linux/common/gettimeofday.c')
-rw-r--r--libc/sysdeps/linux/common/gettimeofday.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/gettimeofday.c b/libc/sysdeps/linux/common/gettimeofday.c
index 0165acfc1..88f7f9999 100644
--- a/libc/sysdeps/linux/common/gettimeofday.c
+++ b/libc/sysdeps/linux/common/gettimeofday.c
@@ -9,4 +9,8 @@
#include "syscalls.h"
#include <sys/time.h>
-_syscall2(int, gettimeofday, struct timeval *, tv, struct timezone *, tz);
+#undef gettimeofday
+#define __NR___gettimeofday __NR_gettimeofday
+attribute_hidden _syscall2(int, __gettimeofday, struct timeval *, tv, struct timezone *, tz);
+strong_alias(__gettimeofday,gettimeofday)
+weak_alias(__gettimeofday,__libc_gettimeofday)