cc -O2 -pipe -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations unistd/encrypt.c -o unistd/encrypt -D_POSIX_C_SOURCE=202405L -lm -lpthread unistd/encrypt.c:11:31: error: use of undeclared identifier 'encrypt'; did you mean 'crypt'? void (*foo)(char [64], int) = encrypt; ^~~~~~~ crypt /usr/include/unistd.h:408:7: note: 'crypt' declared here char *crypt(const char *, const char *); ^ unistd/encrypt.c:11:8: error: incompatible function pointer types initializing 'void (*)(char *, int)' with an expression of type 'char *(const char *, const char *)' [-Werror,-Wincompatible-function-pointer-types] void (*foo)(char [64], int) = encrypt; ^ ~~~~~~~ 2 errors generated.