X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fantithread%2Fantithread.h;h=77f722c39f1686a540a7626df3a5d62ac05a6da2;hp=0e3a011e5f63e694fc713eb88036df95822df1bd;hb=b0fa019adb998c20a8740f5696b61ae87d2a77a6;hpb=076877c266706ba432987195422a1e8653bd0c3b;ds=sidebyside 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.