X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftypesafe_cb.h;h=942d5c2d11323e38fb23e5a40d28bd80aaf0e18d;hb=d32033ada4a4e5821baef20958ae6de0b54622b2;hp=3dddd501a3f8f00eaa5ad33ae6357776e24f9110;hpb=74257cee33ae3033f961d5f22a0313b8cb1b18d4;p=ccan diff --git a/ccan/typesafe_cb/typesafe_cb.h b/ccan/typesafe_cb/typesafe_cb.h index 3dddd501..942d5c2d 100644 --- a/ccan/typesafe_cb/typesafe_cb.h +++ b/ccan/typesafe_cb/typesafe_cb.h @@ -1,4 +1,4 @@ -/* Licensed under LGPLv2.1+ - see LICENSE file for details */ +/* CC0 (Public domain) - see LICENSE file for details */ #ifndef CCAN_TYPESAFE_CB_H #define CCAN_TYPESAFE_CB_H #include "config.h" @@ -101,8 +101,8 @@ * Example: * void _register_callback(void (*fn)(int, void *arg), void *arg); * #define register_callback(fn, arg) \ - * _register_callback(typesafe_cb_preargs(void, (fn), void *, \ - * (arg), int), \ + * _register_callback(typesafe_cb_preargs(void, void *, \ + * (fn), (arg), int), \ * (arg)) */ #define typesafe_cb_preargs(rtype, atype, fn, arg, ...) \