diff --git a/src/common/pico_util/datetime.c b/src/common/pico_util/datetime.c index 857053944..ec17c1bd7 100644 --- a/src/common/pico_util/datetime.c +++ b/src/common/pico_util/datetime.c @@ -2,11 +2,11 @@ #include -__weak struct tm *pico_localtime_r(const time_t *time, struct tm *tm) { +struct tm * __weak pico_localtime_r(const time_t *time, struct tm *tm) { return localtime_r(time, tm); } -__weak time_t pico_mktime(struct tm *tm) { +time_t __weak pico_mktime(struct tm *tm) { return mktime(tm); }