From 675593221c25dbebaaf8e4ce9f4271a8fb0171d0 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 21 Mar 2012 00:58:14 +1030 Subject: 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 --- lib/ccan/tlist/test/compile_fail-tlist_tail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ccan/tlist/test/compile_fail-tlist_tail.c') diff --git a/lib/ccan/tlist/test/compile_fail-tlist_tail.c b/lib/ccan/tlist/test/compile_fail-tlist_tail.c index 48f394446e..4022abf4ac 100644 --- a/lib/ccan/tlist/test/compile_fail-tlist_tail.c +++ b/lib/ccan/tlist/test/compile_fail-tlist_tail.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[]) -- cgit