diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-03-21 00:58:14 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-03-22 01:57:37 +0100 |
commit | 675593221c25dbebaaf8e4ce9f4271a8fb0171d0 (patch) | |
tree | e1f57a9e3919adb163c0acf1072708aca912945a /lib/ccan/tlist/test/compile_fail-tlist_for_each.c | |
parent | eafd83736918bc5953e4a91cf2d893e68f2da2a2 (diff) | |
download | samba-675593221c25dbebaaf8e4ce9f4271a8fb0171d0.tar.gz samba-675593221c25dbebaaf8e4ce9f4271a8fb0171d0.tar.bz2 samba-675593221c25dbebaaf8e4ce9f4271a8fb0171d0.zip |
lib/ccan: namespacize ccan/list to avoid conflict with OpenIndiana's sys/list.h
CCAN includes a little utility called "namespacize" which prepends ccan_ to
all public methods of a module, and fixes up any dependencies it finds. It's
a little primitive, but it works here.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/ccan/tlist/test/compile_fail-tlist_for_each.c')
-rw-r--r-- | lib/ccan/tlist/test/compile_fail-tlist_for_each.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ccan/tlist/test/compile_fail-tlist_for_each.c b/lib/ccan/tlist/test/compile_fail-tlist_for_each.c index 1b2fb6882f..6ea0183392 100644 --- a/lib/ccan/tlist/test/compile_fail-tlist_for_each.c +++ b/lib/ccan/tlist/test/compile_fail-tlist_for_each.c @@ -4,12 +4,12 @@ TLIST_TYPE(children, struct child); struct child { const char *name; - struct list_node list; + struct ccan_list_node list; }; struct cousin { const char *name; - struct list_node list; + struct ccan_list_node list; }; int main(int argc, char *argv[]) |