From b6e2fc28df2c4af938fa533ff5d36e885f01c623 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 9 Feb 2016 13:56:15 +0100 Subject: [PATCH] remove unused functions --- src/attributes/key.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/attributes/key.c b/src/attributes/key.c index 0db121a48..12897d453 100644 --- a/src/attributes/key.c +++ b/src/attributes/key.c @@ -95,24 +95,6 @@ attrib_type at_key = { a_upgradekeys }; -static attrib *make_key(int key) -{ - attrib *a = a_new(&at_key); - assert(key != 0); - a->data.i = key; - return a; -} - -static attrib *find_key(attrib * alist, int key) -{ - attrib *a = a_find(alist, &at_key); - assert(key != 0); - while (a && a->type == &at_key && a->data.i != key) { - a = a->next; - } - return (a && a->type == &at_key) ? a : NULL; -} - void key_set(attrib ** alist, int key) { int *keys, n = 1;