forked from github/server
remove unused functions
This commit is contained in:
parent
188aa84011
commit
b6e2fc28df
1 changed files with 0 additions and 18 deletions
|
@ -95,24 +95,6 @@ attrib_type at_key = {
|
||||||
a_upgradekeys
|
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)
|
void key_set(attrib ** alist, int key)
|
||||||
{
|
{
|
||||||
int *keys, n = 1;
|
int *keys, n = 1;
|
||||||
|
|
Loading…
Reference in a new issue