mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Sync OpenBSD patchset 533:
Zap unused functions, prompted by deraadt.
This commit is contained in:
@ -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, ...)
|
||||
{
|
||||
|
Reference in New Issue
Block a user