cc -O2 -pipe -pthread -Wall -Wextra quick_exit.c -o quick_exit -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread quick_exit.c:9:2: warning: call to undeclared function 'quick_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] quick_exit(0); ^ 1 warning generated. ld: error: undefined symbol: quick_exit >>> referenced by quick_exit.c >>> ../out/openbsd/basic/quick_exit.o:(main) cc: error: linker command failed with exit code 1 (use -v to see invocation)