diff options
author | okan | 2014-01-21 15:42:44 +0000 |
---|---|---|
committer | okan | 2014-01-21 15:42:44 +0000 |
commit | 129338185f898dfe060a3de1b5b7aba429161b81 (patch) | |
tree | d440ddf50e01d21573c3512ab26de909b9ffc820 /kbfunc.c | |
parent | 84ce709251f9e47f74b8a6c75760eb3182063f8b (diff) | |
download | cwm-129338185f898dfe060a3de1b5b7aba429161b81.tar.gz |
Sprinkle a few more const; from Tiago Cunha.
Diffstat (limited to '')
-rw-r--r-- | kbfunc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 <sys/param.h> @@ -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; |