From 0a91ff15c4b62a4ae2e4b0cb4b2384df16bdfd24 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Sat, 12 Dec 2015 09:34:44 +1100 Subject: [PATCH] remove call_str and call_extra no longer used. Signed-off-by: NeilBrown --- core.h | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/core.h b/core.h index 15741136..54785a05 100644 --- a/core.h +++ b/core.h @@ -618,33 +618,3 @@ static inline int comm_call7(struct command *comm, char *key, ci.comm = comm; return comm->func(&ci); } - -static inline int call_extra(char *key, struct pane *focus, int numeric, struct mark *m, - int extra) -{ - struct cmd_info ci = {0}; - - ci.key = key; - ci.focus = focus; - ci.numeric = numeric; - ci.extra = extra; - ci.mark = m; - if (!key_handle_focus(&ci)) - return 0; - return ci.extra; -} - -static inline char *call_str(char *key, struct pane *focus, int numeric, struct mark *m, - char *str) -{ - struct cmd_info ci = {0}; - - ci.key = key; - ci.focus = focus; - ci.numeric = numeric; - ci.str = str; - ci.mark = m; - if (!key_handle_focus(&ci)) - return NULL; - return ci.str; -} -- 2.39.5