Quote:
Originally Posted by konijn_
Greetings,
Code:
files.c:4633:8: warning: implicit declaration of function �kill’ [-Wimplicit-function-declaration]
(void)kill(0, SIGSTOP);
I thought to solve this with typecasting the parameters since forcing zero into a structure seems arcane
|
It just complains about missing prototype for kill(). pid_t is not a structure, it's an int.
Anyway, you probably just need to define _GNU_SOURCE before including Unix headers. See features.h and the man page for feature_test_macros.