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 /include | |
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 'include')
-rw-r--r-- | include/mingw.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 568b1d846..2a543160a 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -354,7 +354,6 @@ struct tm *gmtime_r(const time_t *timep, struct tm *result); | |||
354 | struct tm *localtime_r(const time_t *timep, struct tm *result); | 354 | struct tm *localtime_r(const time_t *timep, struct tm *result); |
355 | char *strptime(const char *s, const char *format, struct tm *tm); | 355 | char *strptime(const char *s, const char *format, struct tm *tm); |
356 | size_t mingw_strftime(char *buf, size_t max, const char *format, const struct tm *tm); | 356 | size_t mingw_strftime(char *buf, size_t max, const char *format, const struct tm *tm); |
357 | int clock_settime(clockid_t clk_id, const struct timespec *tp); | ||
358 | 357 | ||
359 | #define strftime mingw_strftime | 358 | #define strftime mingw_strftime |
360 | 359 | ||