diff options
Diffstat (limited to 'firmware/include')
-rw-r--r-- | firmware/include/file.h | 4 | ||||
-rw-r--r-- | firmware/include/filesystem-native.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/include/file.h b/firmware/include/file.h index f17f14f98e..02d2077977 100644 --- a/firmware/include/file.h +++ b/firmware/include/file.h | |||
@@ -85,8 +85,8 @@ int fdprintf(int fildes, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3); | |||
85 | #ifndef rename | 85 | #ifndef rename |
86 | #define rename FS_PREFIX(rename) | 86 | #define rename FS_PREFIX(rename) |
87 | #endif | 87 | #endif |
88 | #ifndef utime | 88 | #ifndef modtime |
89 | #define utime FS_PREFIX(utime) | 89 | #define modtime FS_PREFIX(modtime) |
90 | #endif | 90 | #endif |
91 | #ifndef filesize | 91 | #ifndef filesize |
92 | #define filesize FS_PREFIX(filesize) | 92 | #define filesize FS_PREFIX(filesize) |
diff --git a/firmware/include/filesystem-native.h b/firmware/include/filesystem-native.h index 800e7bb23b..5bd61eea76 100644 --- a/firmware/include/filesystem-native.h +++ b/firmware/include/filesystem-native.h | |||
@@ -55,7 +55,7 @@ ssize_t read(int fildes, void *buf, size_t nbyte); | |||
55 | ssize_t write(int fildes, const void *buf, size_t nbyte); | 55 | ssize_t write(int fildes, const void *buf, size_t nbyte); |
56 | int remove(const char *path); | 56 | int remove(const char *path); |
57 | int rename(const char *old, const char *new); | 57 | int rename(const char *old, const char *new); |
58 | int utime(const char *path, const struct utimbuf* times); | 58 | int modtime(const char *path, time_t modtime); |
59 | off_t filesize(int fildes); | 59 | off_t filesize(int fildes); |
60 | int fsamefile(int fildes1, int fildes2); | 60 | int fsamefile(int fildes1, int fildes2); |
61 | int relate(const char *path1, const char *path2); | 61 | int relate(const char *path1, const char *path2); |