cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations sched/sched_get_priority_max.c -o sched/sched_get_priority_max -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lintl -liconv sched/sched_get_priority_max.c:6:19: error: ‘sched_get_priority_max’ undeclared here (not in a function) 6 | int (*foo)(int) = sched_get_priority_max; | ^~~~~~~~~~~~~~~~~~~~~~