diff options
author | Ron Yorston <rmy@pobox.com> | 2020-02-11 10:57:11 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-02-11 12:03:49 +0000 |
commit | beba51059500737e6c004d7a8b0d196278115860 (patch) | |
tree | 7ebe34e7b41be2787ef8a98625168a1747e77f6b /win32 | |
parent | 649eabaf4d9e7c733471351effce0b80b2ee76b1 (diff) | |
download | busybox-w32-beba51059500737e6c004d7a8b0d196278115860.tar.gz busybox-w32-beba51059500737e6c004d7a8b0d196278115860.tar.bz2 busybox-w32-beba51059500737e6c004d7a8b0d196278115860.zip |
date: code shrink
Since we don't have a working clock_settime(2) there's no point
in claiming to support the '-s' option.
Saves 96 bytes
Diffstat (limited to 'win32')
-rw-r--r-- | win32/mingw.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/win32/mingw.c b/win32/mingw.c index 3a3b3cd63..8f4d155b8 100644 --- a/win32/mingw.c +++ b/win32/mingw.c | |||
@@ -1389,12 +1389,6 @@ size_t mingw_strftime(char *buf, size_t max, const char *format, const struct tm | |||
1389 | return ret; | 1389 | return ret; |
1390 | } | 1390 | } |
1391 | 1391 | ||
1392 | int clock_settime(clockid_t clk_id UNUSED_PARAM, const struct timespec *tp UNUSED_PARAM) | ||
1393 | { | ||
1394 | errno = EPERM; | ||
1395 | return -1; | ||
1396 | } | ||
1397 | |||
1398 | #undef access | 1392 | #undef access |
1399 | int mingw_access(const char *name, int mode) | 1393 | int mingw_access(const char *name, int mode) |
1400 | { | 1394 | { |