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;