diff options
Diffstat (limited to 'firmware/include')
-rw-r--r-- | firmware/include/time.h | 3 | ||||
-rw-r--r-- | firmware/include/timefuncs.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/include/time.h b/firmware/include/time.h index cddec1e708..23f72fd93d 100644 --- a/firmware/include/time.h +++ b/firmware/include/time.h | |||
@@ -20,8 +20,7 @@ struct tm | |||
20 | int tm_isdst; | 20 | int tm_isdst; |
21 | }; | 21 | }; |
22 | 22 | ||
23 | #if defined(SIMULATOR) && !defined(_TIME_T_DEFINED) && !defined(_TIME_T_DECLARED) | 23 | #if !defined(_TIME_T_DEFINED) && !defined(_TIME_T_DECLARED) |
24 | /* for non-win32 simulators */ | ||
25 | typedef long time_t; | 24 | typedef long time_t; |
26 | 25 | ||
27 | /* this define below is used by the mingw headers to prevent duplicate | 26 | /* this define below is used by the mingw headers to prevent duplicate |
diff --git a/firmware/include/timefuncs.h b/firmware/include/timefuncs.h index 03bb06fb9c..d2f42eb9ff 100644 --- a/firmware/include/timefuncs.h +++ b/firmware/include/timefuncs.h | |||
@@ -27,5 +27,6 @@ | |||
27 | struct tm *get_time(void); | 27 | struct tm *get_time(void); |
28 | int set_time(const struct tm *tm); | 28 | int set_time(const struct tm *tm); |
29 | bool valid_time(const struct tm *tm); | 29 | bool valid_time(const struct tm *tm); |
30 | time_t mktime(struct tm *t); | ||
30 | 31 | ||
31 | #endif /* _TIMEFUNCS_H_ */ | 32 | #endif /* _TIMEFUNCS_H_ */ |