X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftypesafe_cb.h;h=942d5c2d11323e38fb23e5a40d28bd80aaf0e18d;hb=2e26b06e6384c4483dde844cf8991846075e552c;hp=40cfa3979891c3ac04cac3a8204e8d59693d8e70;hpb=b0fa019adb998c20a8740f5696b61ae87d2a77a6;p=ccan diff --git a/ccan/typesafe_cb/typesafe_cb.h b/ccan/typesafe_cb/typesafe_cb.h index 40cfa397..942d5c2d 100644 --- a/ccan/typesafe_cb/typesafe_cb.h +++ b/ccan/typesafe_cb/typesafe_cb.h @@ -1,3 +1,4 @@ +/* CC0 (Public domain) - see LICENSE file for details */ #ifndef CCAN_TYPESAFE_CB_H #define CCAN_TYPESAFE_CB_H #include "config.h" @@ -100,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, ...) \