Skip to content

Commit

Permalink
oops __weak in the wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
kilograham committed Nov 21, 2024
1 parent 0df36d9 commit 109e01a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/pico_util/datetime.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

#include <stdio.h>

__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);
}

Expand Down

0 comments on commit 109e01a

Please sign in to comment.