diff options
author | James Buren <braewoods+rb@braewoods.net> | 2021-07-11 12:40:08 +0000 |
---|---|---|
committer | James Buren <braewoods+rb@braewoods.net> | 2021-07-11 12:40:08 +0000 |
commit | fa743258ea963b9b924204f0d80e077056cf9a6e (patch) | |
tree | 603c11a1d0e6013752e78539df43c062c58676e5 /firmware/target/hosted/filesystem-hosted.h | |
parent | 8846e087c09c28a2dfb731d7c873f113bc899940 (diff) | |
download | rockbox-fa743258ea963b9b924204f0d80e077056cf9a6e.tar.gz rockbox-fa743258ea963b9b924204f0d80e077056cf9a6e.zip |
filesystem: implement os_modtime for unix
Change-Id: If030d526f29aa786b5a37402413d804752286cf5
Diffstat (limited to 'firmware/target/hosted/filesystem-hosted.h')
-rw-r--r-- | firmware/target/hosted/filesystem-hosted.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/hosted/filesystem-hosted.h b/firmware/target/hosted/filesystem-hosted.h index 5147ef6db6..b9c7ce648a 100644 --- a/firmware/target/hosted/filesystem-hosted.h +++ b/firmware/target/hosted/filesystem-hosted.h | |||
@@ -33,6 +33,7 @@ void * os_lc_open(const char *ospath); | |||
33 | #define _FILESYSTEM_HOSTED__FILE_H_ | 33 | #define _FILESYSTEM_HOSTED__FILE_H_ |
34 | 34 | ||
35 | #ifndef OSFUNCTIONS_DECLARED | 35 | #ifndef OSFUNCTIONS_DECLARED |
36 | int os_modtime(const char *path, time_t modtime); | ||
36 | off_t os_filesize(int osfd); | 37 | off_t os_filesize(int osfd); |
37 | int os_fsamefile(int osfd1, int osfd2); | 38 | int os_fsamefile(int osfd1, int osfd2); |
38 | int os_relate(const char *path1, const char *path2); | 39 | int os_relate(const char *path1, const char *path2); |