From 73f77a6699bb6f2345f20d8ed09b1ec6c6bf6435 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 18 Mar 2016 23:46:24 +0100 Subject: [PATCH] gui.c: Constify argument to find_cmd_byname(). --- gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui.c b/gui.c index bb1625d7..b0eae64a 100644 --- a/gui.c +++ b/gui.c @@ -146,7 +146,7 @@ struct exec_task { unsigned flags[2]; /* passed to for_each_line() */ }; -static int find_cmd_byname(char *name) +static int find_cmd_byname(const char *name) { int i; -- 2.39.5