author | Rich Felker <dalias@aerifal.cx> | 2014年01月07日 03:02:14 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014年01月07日 03:02:14 -0500 |
commit | 1d23b3c9136f606276142ec0037ff78fbb95e26d (patch) | |
tree | da8a6281b4cd6802f426bc3341eaac14c6d22e91 /src | |
parent | 74998fbec13cb2d1c6a0952141b90f4216ab89e6 (diff) | |
download | musl-1d23b3c9136f606276142ec0037ff78fbb95e26d.tar.gz |
-rw-r--r-- | src/linux/stime.c | 2 |
diff --git a/src/linux/stime.c b/src/linux/stime.c index 29a1ec64..7d0443ba 100644 --- a/src/linux/stime.c +++ b/src/linux/stime.c @@ -2,7 +2,7 @@ #include <time.h> #include <sys/time.h> -int stime(time_t *t) +int stime(const time_t *t) { struct timeval tv = { .tv_sec = *t, .tv_usec = 0 }; return settimeofday(&tv, (void *)0); |