aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2014-03-12 19:49:22 +0000
committerRon Yorston <rmy@pobox.com>2014-03-12 19:49:22 +0000
commit005da0c098e47daabd31ddead579a93430c3c6f9 (patch)
treee18adcc2b696cbaa7fd54a6fc2ea097e4ae12774 /include
parent216cef35d0e3364b6bc32e361e626f68b3fb48d8 (diff)
downloadbusybox-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.h4
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 */
391int mingw_utime(const char *file_name, const struct utimbuf *times);
392int utimes(const char *file_name, const struct timeval times[2]); 390int 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 */