cc -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_spin_init.c -o pthread/pthread_spin_init -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv pthread/pthread_spin_init.c: In function ‘main’: pthread/pthread_spin_init.c:10:23: error: implicit declaration of function ‘pthread_spin_init’; did you mean ‘pthread_cond_init’? [-Wimplicit-function-declaration] 10 | if ( (errno = pthread_spin_init(&lock, 0)) ) | ^~~~~~~~~~~~~~~~~ | pthread_cond_init