]> git.ozlabs.org Git - ccan/blobdiff - ccan/antithread/antithread.c
tdb2: rename internal hashfn and logfn to hash_fn and log_fn.
[ccan] / ccan / antithread / antithread.c
index da607c1e7b28cd15a07bad97c95805349c863a65..f077221ed444305a12dbde2d4a1d54a2208a8be2 100644 (file)
@@ -6,6 +6,7 @@
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <signal.h>
 #include <errno.h>
 #include <assert.h>
 #include <err.h>
@@ -420,7 +421,7 @@ struct at_pool *at_get_pool(int *argc, char *argv[], void **arg)
 
        p = atp->p = talloc(atp, struct at_pool_contents);
 
-       if (sscanf(argv[1], "AT:%p/%lu/%i/%i/%i/%p", 
+       if (sscanf(argv[1], "AT:%p/%lu/%i/%i/%i/%p",
                   &p->pool, &p->poolsize, &p->fd,
                   &p->parent_rfd, &p->parent_wfd, arg) != 6) {
                errno = EINVAL;