From 55b12034a9b0e2b0f44b14ea607cd22f67886736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= <rene.kijewski@fu-berlin.de> Date: Tue, 13 May 2014 21:34:10 +0200 Subject: [PATCH] msp430: fix missing members in `struct tm` Closes #1150. --- cpu/msp430-common/include/time.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpu/msp430-common/include/time.h b/cpu/msp430-common/include/time.h index 5969cd029c..9890cae5a3 100644 --- a/cpu/msp430-common/include/time.h +++ b/cpu/msp430-common/include/time.h @@ -2,13 +2,15 @@ #define MSPGCC_TIME_H struct tm { - int tm_sec; /* Seconds after the minute [0, 59] */ + int tm_sec; /* Seconds after the minute [0, 60] */ int tm_min; /* Minutes after the hour [0, 59] */ int tm_hour; /* Hours since midnight [0, 23] */ int tm_mday; /* Day of the month [1, 31] */ int tm_mon; /* Months since January [0, 11] */ int tm_year; /* Years since 1900 */ int tm_wday; /* Days since Sunday [0, 6] */ + int tm_yday; /* Days since January 1st [0, 365] */ + int tm_isdst; /* Daylight saving time is in effect */ }; #endif -- GitLab