From 129338185f898dfe060a3de1b5b7aba429161b81 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 21 Jan 2014 15:42:44 +0000 Subject: Sprinkle a few more const; from Tiago Cunha. --- kbfunc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index a0a6f57..4ad5db3 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.89 2014/01/20 23:18:47 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.90 2014/01/21 15:42:45 okan Exp $ */ #include @@ -229,8 +229,9 @@ kbfunc_exec(struct client_ctx *cc, union arg *arg) { #define NPATHS 256 struct screen_ctx *sc = cc->sc; - char **ap, *paths[NPATHS], *path, *pathcpy, *label; + char **ap, *paths[NPATHS], *path, *pathcpy; char tpath[MAXPATHLEN]; + const char *label; DIR *dirp; struct dirent *dp; struct menu *mi; -- cgit v1.2.3-2-gb3c3