diff options
Diffstat (limited to 'libc/sysdeps/linux/common/gettimeofday.c')
| -rw-r--r-- | libc/sysdeps/linux/common/gettimeofday.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/gettimeofday.c b/libc/sysdeps/linux/common/gettimeofday.c index 6c2613f01..2d8a6cb25 100644 --- a/libc/sysdeps/linux/common/gettimeofday.c +++ b/libc/sysdeps/linux/common/gettimeofday.c @@ -2,13 +2,15 @@ /* * gettimeofday() for uClibc * - * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org> + * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> * - * GNU Library General Public License (LGPL) version 2 or later. + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include "syscalls.h" #include <sys/time.h> -#define __NR___gettimeofday __NR_gettimeofday -attribute_hidden _syscall2(int, __gettimeofday, struct timeval *, tv, struct timezone *, tz); -strong_alias(__gettimeofday,gettimeofday) + +libc_hidden_proto(gettimeofday) + +_syscall2(int, gettimeofday, struct timeval *, tv, struct timezone *, tz); +libc_hidden_def(gettimeofday) |
