about summary refs log tree commit diff
path: root/src/linux/settimeofday.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-05-26 18:22:12 -0400
committerRich Felker <dalias@aerifal.cx>2013-05-26 18:22:12 -0400
commitd9265653552a2b667bf3e84407a06edaa7e9f74f (patch)
tree2781a8b5385ee8224b4cda826ac159c3b769b995 /src/linux/settimeofday.c
parent5e642b5a2395893873affa2a121a694943b3f4e0 (diff)
parent31ff797787d89bc01a69ca672fb2340ff21a827e (diff)
downloadmusl-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.c3
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);
 }