cc -pipe -O -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations locale/getlocalename_l.c -o locale/getlocalename_l -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lrt -lcrypt locale/getlocalename_l.c:5:37: error: 'getlocalename_l' undeclared here (not in a function); did you mean 'setlocale'? const char *(*foo)(int, locale_t) = getlocalename_l; ^~~~~~~~~~~~~~~ setlocale