cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations time/getdate.c -o time/getdate -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lintl -liconv time/getdate.c:11:35: error: ‘getdate’ undeclared here (not in a function) 11 | struct tm *(*foo)(const char *) = getdate; | ^~~~~~~