diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-13 07:00:54 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-13 07:00:54 +0000 |
commit | 5d397462e45653965e1be64644a3c635eb8ef9cb (patch) | |
tree | 08c30437532f994d14de9418b9cd5efdee7359ee /key-bindings.c | |
parent | 5ae542e7eed70cf37a658356f37a913a8c4aefef (diff) |
Zap unused functions, prompted by deraadt.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/key-bindings.c b/key-bindings.c index d15e0186..5a0aeee0 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -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, ...) { |