From a9f36efa62c0f095994e2a711a689b3b3e81aea2 Mon Sep 17 00:00:00 2001 From: James Buren Date: Thu, 8 Jul 2021 17:45:57 +0000 Subject: file/fat: rework utime function as modtime extension This eliminates the dependence on a special struct since we were only using the modtime anyway. But it no longer fits any known standard APIs so I have converted it to our own extension instead. This can still be adapted to existing hosted APIs if the need arises. Change-Id: Ic8800698ddfd3a1a48b7cf921c0d0f865302d034 --- firmware/libc/include/time.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'firmware/libc/include') diff --git a/firmware/libc/include/time.h b/firmware/libc/include/time.h index 217b454321..4796b8b083 100644 --- a/firmware/libc/include/time.h +++ b/firmware/libc/include/time.h @@ -28,12 +28,6 @@ struct tm #if !defined(_TIME_T_DEFINED) && !defined(_TIME_T_DECLARED) typedef long time_t; -struct utimbuf -{ - time_t actime; - time_t modtime; -}; - /* this define below is used by the mingw headers to prevent duplicate typedefs */ #define _TIME_T_DEFINED -- cgit v1.2.3