cc -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_setschedprio.c -o pthread/pthread_setschedprio -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv pthread/pthread_setschedprio.c: In function ‘main’: pthread/pthread_setschedprio.c:13:23: error: implicit declaration of function ‘pthread_getschedparam’ [-Wimplicit-function-declaration] 13 | if ( (errno = pthread_getschedparam(pthread_self(), &policy, ¶ms)) ) | ^~~~~~~~~~~~~~~~~~~~~ pthread/pthread_setschedprio.c:20:23: error: implicit declaration of function ‘pthread_setschedprio’; did you mean ‘pthread_setspecific’? [-Wimplicit-function-declaration] 20 | if ( (errno = pthread_setschedprio(pthread_self(), priority)) /*&& | ^~~~~~~~~~~~~~~~~~~~ | pthread_setspecific