summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/gettimeofday.c
blob: 88f7f9999c72093f526c3c3ca048bf6f0e8cf49d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* vi: set sw=4 ts=4: */
/*
 * gettimeofday() for uClibc
 *
 * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
 *
 * GNU Library General Public License (LGPL) version 2 or later.
 */

#include "syscalls.h"
#include <sys/time.h>
#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)