Remove unused function _print_string_list

The only good dead code is non-existing dead code.
This commit is contained in:
Carl Worth 2010-05-20 14:08:19 -07:00
parent 323421db65
commit ff13cfed81

View file

@ -50,9 +50,6 @@ _expand_function_macro (glcpp_parser_t *parser,
const char *identifier,
argument_list_t *arguments);
void
_print_string_list (string_list_t *list);
string_list_t *
_string_list_create (void *ctx);
@ -396,21 +393,6 @@ _string_list_length (string_list_t *list)
return length;
}
void
_print_string_list (string_list_t *list)
{
string_node_t *node;
if (list == NULL)
return;
for (node = list->head; node; node = node->next) {
printf ("%s", node->str);
if (node->next)
printf (" ");
}
}
argument_list_t *
_argument_list_create (void *ctx)
{