From fa743258ea963b9b924204f0d80e077056cf9a6e Mon Sep 17 00:00:00 2001 From: James Buren Date: Sun, 11 Jul 2021 12:40:08 +0000 Subject: filesystem: implement os_modtime for unix Change-Id: If030d526f29aa786b5a37402413d804752286cf5 --- firmware/target/hosted/filesystem-hosted.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/target/hosted/filesystem-hosted.h') 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); #define _FILESYSTEM_HOSTED__FILE_H_ #ifndef OSFUNCTIONS_DECLARED +int os_modtime(const char *path, time_t modtime); off_t os_filesize(int osfd); int os_fsamefile(int osfd1, int osfd2); int os_relate(const char *path1, const char *path2); -- cgit v1.2.3