clang -O2 -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations termios/tcgetsid.c -o termios/tcgetsid -D_POSIX_C_SOURCE=202405L -lm -lintl termios/tcgetsid.c:5:9: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] pid_t (*foo)(int) = tcgetsid; ^ termios/tcgetsid.c:5:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] pid_t (*foo)(int) = tcgetsid; ^ termios/tcgetsid.c:5:7: error: function cannot return function type 'int (int)' pid_t (*foo)(int) = tcgetsid; ^ termios/tcgetsid.c:5:21: error: use of undeclared identifier 'tcgetsid' pid_t (*foo)(int) = tcgetsid; ^ 4 errors generated. ../out/minix/include/termios/tcgetsid.o:(.data+0x0): undefined reference to `tcgetsid' clang: error: linker command failed with exit code 1 (use -v to see invocation)