diff options
author | Ron Yorston <rmy@pobox.com> | 2014-03-12 19:49:22 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-03-12 19:49:22 +0000 |
commit | 005da0c098e47daabd31ddead579a93430c3c6f9 (patch) | |
tree | e18adcc2b696cbaa7fd54a6fc2ea097e4ae12774 /include | |
parent | 216cef35d0e3364b6bc32e361e626f68b3fb48d8 (diff) | |
download | busybox-w32-005da0c098e47daabd31ddead579a93430c3c6f9.tar.gz busybox-w32-005da0c098e47daabd31ddead579a93430c3c6f9.tar.bz2 busybox-w32-005da0c098e47daabd31ddead579a93430c3c6f9.zip |
Remove unused mingw_utime; update utimes to handle read-only files
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/mingw.h b/include/mingw.h index c405c4a97..775987b62 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -1,4 +1,3 @@ | |||
1 | #include <sys/utime.h> | ||
2 | 1 | ||
3 | #define NOIMPL(name,...) static inline int name(__VA_ARGS__) { errno = ENOSYS; return -1; } | 2 | #define NOIMPL(name,...) static inline int name(__VA_ARGS__) { errno = ENOSYS; return -1; } |
4 | #define IMPL(name,ret,retval,...) static inline ret name(__VA_ARGS__) { return retval; } | 3 | #define IMPL(name,ret,retval,...) static inline ret name(__VA_ARGS__) { return retval; } |
@@ -388,11 +387,8 @@ int mingw_access(const char *name, int mode); | |||
388 | /* | 387 | /* |
389 | * utime.h | 388 | * utime.h |
390 | */ | 389 | */ |
391 | int mingw_utime(const char *file_name, const struct utimbuf *times); | ||
392 | int utimes(const char *file_name, const struct timeval times[2]); | 390 | int utimes(const char *file_name, const struct timeval times[2]); |
393 | 391 | ||
394 | #define utime mingw_utime | ||
395 | |||
396 | /* | 392 | /* |
397 | * MinGW specific | 393 | * MinGW specific |
398 | */ | 394 | */ |