From 52847a951802fda7a3ce36cdac77c34914b0ccca Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 15 Jan 2017 22:00:56 +0000 Subject: It is silly for cmd_list_parse to return an integer error when it could just return NULL. --- tmux.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 52778c46..54e20873 100644 --- a/tmux.h +++ b/tmux.h @@ -1823,8 +1823,7 @@ void printflike(2, 3) cmdq_print(struct cmdq_item *, const char *, ...); void printflike(2, 3) cmdq_error(struct cmdq_item *, const char *, ...); /* cmd-string.c */ -int cmd_string_parse(const char *, struct cmd_list **, const char *, - u_int, char **); +struct cmd_list *cmd_string_parse(const char *, const char *, u_int, char **); /* cmd-wait-for.c */ void cmd_wait_for_flush(void); -- cgit