X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fantithread%2Fantithread.h;h=42d5a0fadf558b5f2dad28f76d87c70f849419b5;hp=0e3a011e5f63e694fc713eb88036df95822df1bd;hb=925a9a8646a2e23d4e9f4b8ce446b76f647f183f;hpb=74e9da4d1c0b968fbac4b8da165e6ad5318329dd diff --git a/ccan/antithread/antithread.h b/ccan/antithread/antithread.h index 0e3a011e..42d5a0fa 100644 --- a/ccan/antithread/antithread.h +++ b/ccan/antithread/antithread.h @@ -1,3 +1,4 @@ +/* Licensed under GPLv3+ - see LICENSE file for details */ #ifndef ANTITHREAD_H #define ANTITHREAD_H #include @@ -16,7 +17,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.