diff options
Diffstat (limited to 'uisimulator/sdl/timefuncs.h')
-rw-r--r-- | uisimulator/sdl/timefuncs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/uisimulator/sdl/timefuncs.h b/uisimulator/sdl/timefuncs.h new file mode 100644 index 0000000000..de17fcdc73 --- /dev/null +++ b/uisimulator/sdl/timefuncs.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #include <time.h> | ||
2 | #include <stdbool.h> | ||
3 | |||
4 | /* struct tm defined */ | ||
5 | struct tm *get_time(void); | ||
6 | int set_time(const struct tm *tm); | ||
7 | bool valid_time(const struct tm *tm); | ||