mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
remove old things
This commit is contained in:
parent
aa22dc3113
commit
799ff640f8
2 changed files with 1 additions and 4 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue