The function can be disabled by compiling with NDEBUG now.
*********************************************************************/
static int list_is_valid (const struct list *the_list)
{
- /*
- * If you don't want this check, just change the line below
- * from "#if 1" to "#if 0".
- */
-#if 1
const struct list_entry *cur_entry;
const struct list_entry *last_entry = NULL;
int entry = 0;
}
return (the_list->last == last_entry);
-#else
- return 1;
-#endif
+
}
#endif /* ndef NDEBUG */