Sync OpenBSD patchset 533:

Zap unused functions, prompted by deraadt.
This commit is contained in:
Tiago Cunha
2009-11-13 16:58:24 +00:00
parent 2bd39071d3
commit 0986001908
3 changed files with 3 additions and 34 deletions

View File

@ -1,4 +1,4 @@
/* $Id: key-bindings.c,v 1.83 2009-10-06 14:14:07 tcunha Exp $ */
/* $Id: key-bindings.c,v 1.84 2009-11-13 16:58:24 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -187,20 +187,6 @@ key_bindings_init(void)
}
}
void
key_bindings_free(void)
{
struct key_binding *bd;
key_bindings_clean();
while (!SPLAY_EMPTY(&key_bindings)) {
bd = SPLAY_ROOT(&key_bindings);
SPLAY_REMOVE(key_bindings, &key_bindings, bd);
cmd_list_free(bd->cmdlist);
xfree(bd);
}
}
void printflike2
key_bindings_error(struct cmd_ctx *ctx, const char *fmt, ...)
{