X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fantithread%2Fantithread.h;h=77f722c39f1686a540a7626df3a5d62ac05a6da2;hp=0e3a011e5f63e694fc713eb88036df95822df1bd;hb=58fbdc9e217ff440f634927b70474e7aa1f2e7c0;hpb=36e8b652d0aa045e6e427dc3851da24472ed6a95 diff --git a/ccan/antithread/antithread.h b/ccan/antithread/antithread.h index 0e3a011e..77f722c3 100644 --- a/ccan/antithread/antithread.h +++ b/ccan/antithread/antithread.h @@ -16,7 +16,7 @@ const void *at_pool_ctx(struct at_pool *atp); /* Creating an antithread via fork(). Returned athread is child of pool. */ #define at_run(pool, fn, arg) \ _at_run(pool, \ - typesafe_cb_preargs(void *, (fn), (arg), struct at_pool *), \ + typesafe_cb_preargs(void *, void *, (fn), (arg), struct at_pool *), \ (arg)) /* Fork and execvp, with added arguments for child to grab.