From 109e01a57e61f0d9826efce85fc44c9599aa32cf Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Wed, 20 Nov 2024 20:31:57 -0600 Subject: [PATCH] oops __weak in the wrong place --- src/common/pico_util/datetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }