summaryrefslogtreecommitdiff
path: root/lib/ccan
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-12-05 16:42:45 +1030
committerRusty Russell <rusty@rustcorp.com.au>2011-12-05 16:42:45 +1030
commit4e377c28a930f9a52577973f10833bf1546a0c84 (patch)
treecac5b633dc0f729e50398100f159952098be6f1c /lib/ccan
parenta0bff7d0625e8f3bbbabfc3d5b6d3497cea078f1 (diff)
downloadsamba-4e377c28a930f9a52577973f10833bf1546a0c84.tar.gz
samba-4e377c28a930f9a52577973f10833bf1546a0c84.tar.bz2
samba-4e377c28a930f9a52577973f10833bf1546a0c84.zip
lib/ccan/typesafe_cb: fix example macro ordering in typesafe_cb_preargs documentation.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 12652625db55f6586e95fc5edc73e1e85bae8a5c)
Diffstat (limited to 'lib/ccan')
-rw-r--r--lib/ccan/typesafe_cb/typesafe_cb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ccan/typesafe_cb/typesafe_cb.h b/lib/ccan/typesafe_cb/typesafe_cb.h
index 3dddd501a3..884314975e 100644
--- a/lib/ccan/typesafe_cb/typesafe_cb.h
+++ b/lib/ccan/typesafe_cb/typesafe_cb.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, ...) \