diff options
Diffstat (limited to 'newlib/libc/time/mktime.c')
-rw-r--r-- | newlib/libc/time/mktime.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/time/mktime.c b/newlib/libc/time/mktime.c index 938513233..d75d7cc85 100644 --- a/newlib/libc/time/mktime.c +++ b/newlib/libc/time/mktime.c @@ -67,8 +67,8 @@ static _CONST int _DAYS_BEFORE_MONTH[12] = #define _DAYS_IN_YEAR(year) (_ISLEAP(year) ? 366 : 365) static void -validate_structure (tim_p) - struct tm *tim_p; +_DEFUN(validate_structure, (tim_p), + struct tm *tim_p) { div_t res; int days_in_feb = 28; @@ -154,8 +154,8 @@ validate_structure (tim_p) } time_t -mktime (tim_p) - struct tm *tim_p; +_DEFUN(mktime, (tim_p), + struct tm *tim_p) { time_t tim = 0; long days = 0; |