remove old things

This commit is contained in:
taiyu 2015-09-08 10:28:53 -07:00
parent aa22dc3113
commit 799ff640f8
2 changed files with 1 additions and 4 deletions

View file

@ -1050,7 +1050,7 @@ static int handler_compare(const void *_a, const void *_b) {
return strcasecmp(a->command, b->command);
}
struct cmd_handler *find_handler(char *line) {
static struct cmd_handler *find_handler(char *line) {
struct cmd_handler d = { .command=line };
struct cmd_handler *res = bsearch(&d, handlers,
sizeof(handlers) / sizeof(struct cmd_handler),