list: rename debug_list to list_debug, use list_check_node in list_del
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 1 Jan 2011 06:40:54 +0000 (17:10 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 1 Jan 2011 06:40:54 +0000 (17:10 +1030)
commitf940ee9ccd07eb8821dcbd7a31b5374e38a4c16b
treeb39cf0fddb3327f5f8f026b998c50578174838cd
parent22ffb884ca6a5f16517e49e051d8fb5a22e5049d
list: rename debug_list to list_debug, use list_check_node in list_del

When CCAN_LIST_DEBUG was defined, we were previously calling
list_check() in list_del instead of list_check_node(), which caused a
warning.

We also should stick within the "list_" prefix namespace, so rename
"debug_list" to "list_debug".
ccan/list/list.h