diff options
Diffstat (limited to 'cc3200/mods/modutime.h')
-rw-r--r-- | cc3200/mods/modutime.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cc3200/mods/modutime.h b/cc3200/mods/modutime.h index 5f1e8ed746..bc2be9cfa2 100644 --- a/cc3200/mods/modutime.h +++ b/cc3200/mods/modutime.h @@ -25,6 +25,9 @@ * THE SOFTWARE. */ +#ifndef MODUOS_H_ +#define MODUOS_H_ + typedef struct { uint16_t tm_year; // i.e. 2014 uint8_t tm_mon; // 1..12 @@ -41,3 +44,5 @@ extern mp_uint_t mod_time_seconds_since_2000(mp_uint_t year, mp_uint_t month, mp mp_uint_t hour, mp_uint_t minute, mp_uint_t second); extern void mod_time_seconds_since_2000_to_struct_time(mp_uint_t t, mod_struct_time *tm); + +#endif // MODUOS_H_ |