cc -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_mutexattr_getprotocol.c -o pthread/pthread_mutexattr_getprotocol -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv pthread/pthread_mutexattr_getprotocol.c: In function ‘main’: pthread/pthread_mutexattr_getprotocol.c:14:23: error: implicit declaration of function ‘pthread_mutexattr_getprotocol’; did you mean ‘pthread_mutexattr_gettype’? [-Wimplicit-function-declaration] 14 | if ( (errno = pthread_mutexattr_getprotocol(&attr, &protocol)) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | pthread_mutexattr_gettype pthread/pthread_mutexattr_getprotocol.c:16:26: error: ‘PTHREAD_PRIO_NONE’ undeclared (first use in this function) 16 | if ( protocol != PTHREAD_PRIO_NONE ) | ^~~~~~~~~~~~~~~~~ pthread/pthread_mutexattr_getprotocol.c:16:26: note: each undeclared identifier is reported only once for each function it appears in