summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-06-22 15:34:59 -0700
committerCarl Worth <cworth@cworth.org>2010-06-23 16:13:31 -0700
commit45cbc08438227d5cc702c271a4c9afd3ba017b63 (patch)
tree5432aa493847385e791812e63e45283055e661e6
parent60c67e46b1b0c69171929be5915bb5468a7faff6 (diff)
preprocessor: Remove dead code _string_list_append_list
As gcc noticed, this function is not currently being used. Good-bye.
-rw-r--r--glcpp/glcpp-parse.y15
1 files changed, 0 insertions, 15 deletions
diff --git a/glcpp/glcpp-parse.y b/glcpp/glcpp-parse.y
index 2ce8632..710ede6 100644
--- a/glcpp/glcpp-parse.y
+++ b/glcpp/glcpp-parse.y
@@ -55,9 +55,6 @@ _string_list_create (void *ctx);
static void
_string_list_append_item (string_list_t *list, const char *str);
-static void
-_string_list_append_list (string_list_t *list, string_list_t *tail);
-
static int
_string_list_contains (string_list_t *list, const char *member, int *index);
@@ -504,18 +501,6 @@ _string_list_create (void *ctx)
}
void
-_string_list_append_list (string_list_t *list, string_list_t *tail)
-{
- if (list->head == NULL) {
- list->head = tail->head;
- } else {
- list->tail->next = tail->head;
- }
-
- list->tail = tail->tail;
-}
-
-void
_string_list_append_item (string_list_t *list, const char *str)
{
string_node_t *node;