]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/async.c
configurator: add tests for other popcount variants.
[ccan] / tools / ccanlint / async.c
index d867079d0782c4f341e9af443517494f52f83c78..f3d1a5ba13b36354d23bdf309ae28d8c75617bd3 100644 (file)
@@ -6,6 +6,7 @@
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <signal.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <err.h>
@@ -34,7 +35,7 @@ struct command {
        const void *ctx;
 };
 
-static void killme(int sig)
+static void killme(int sig UNNEEDED)
 {
        kill(-getpid(), SIGKILL);
 }