cc -O2 -pipe -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations devctl/posix_devctl.c -o devctl/posix_devctl -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lstdthreads -lcrypt In file included from devctl/posix_devctl.c:2: /usr/include/devctl.h:31:1: error: unknown type name '__BEGIN_DECLS' 31 | __BEGIN_DECLS | ^ /usr/include/devctl.h:46:1: error: unknown type name '__END_DECLS' 46 | __END_DECLS | ^ devctl/posix_devctl.c:6:38: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] 6 | int (*foo)(int, int, void *restrict, size_t, int *restrict) = posix_devctl; | ^ | int devctl/posix_devctl.c:6:63: error: use of undeclared identifier 'posix_devctl' 6 | int (*foo)(int, int, void *restrict, size_t, int *restrict) = posix_devctl; | ^ 4 errors generated.