diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-05-26 18:22:12 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-05-26 18:22:12 -0400 |
commit | d9265653552a2b667bf3e84407a06edaa7e9f74f (patch) | |
tree | 2781a8b5385ee8224b4cda826ac159c3b769b995 /src/linux/settimeofday.c | |
parent | 5e642b5a2395893873affa2a121a694943b3f4e0 (diff) | |
parent | 31ff797787d89bc01a69ca672fb2340ff21a827e (diff) | |
download | musl-d9265653552a2b667bf3e84407a06edaa7e9f74f.tar.gz musl-d9265653552a2b667bf3e84407a06edaa7e9f74f.tar.xz musl-d9265653552a2b667bf3e84407a06edaa7e9f74f.zip |
Merge remote-tracking branch 'nsz/review'
Diffstat (limited to 'src/linux/settimeofday.c')
-rw-r--r-- | src/linux/settimeofday.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linux/settimeofday.c b/src/linux/settimeofday.c index d741f66b..15c18c63 100644 --- a/src/linux/settimeofday.c +++ b/src/linux/settimeofday.c @@ -1,7 +1,8 @@ +#define _BSD_SOURCE #include <sys/time.h> #include "syscall.h" -int settimeofday(const struct timeval *tv, void *tz) +int settimeofday(const struct timeval *tv, const struct timezone *tz) { return syscall(SYS_settimeofday, tv, 0); } |