cc -pipe -O -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations search/twalk.c -o search/twalk -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lrt -lcrypt search/twalk.c:11:19: error: unknown type name 'posix_tnode' void (*foo)(const posix_tnode *, void (*)(const posix_tnode *, VISIT, int)) = twalk; ^~~~~~~~~~~ search/twalk.c:11:49: error: unknown type name 'posix_tnode' void (*foo)(const posix_tnode *, void (*)(const posix_tnode *, VISIT, int)) = twalk; ^~~~~~~~~~~ search/twalk.c:11:79: error: initialization of 'void (*)(const int *, void (*)(const int *, VISIT, int))' {aka 'void (*)(const int *, void (*)(const int *, enum , int))'} from incompatible pointer type 'void (*)(const void *, void (*)(const void *, VISIT, int))' {aka 'void (*)(const void *, void (*)(const void *, enum , int))'} [-Werror=incompatible-pointer-types] void (*foo)(const posix_tnode *, void (*)(const posix_tnode *, VISIT, int)) = twalk; ^~~~~ cc1: all warnings being treated as errors