aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan2014-01-21 15:42:44 +0000
committerokan2014-01-21 15:42:44 +0000
commit129338185f898dfe060a3de1b5b7aba429161b81 (patch)
treed440ddf50e01d21573c3512ab26de909b9ffc820 /kbfunc.c
parent84ce709251f9e47f74b8a6c75760eb3182063f8b (diff)
downloadcwm-129338185f898dfe060a3de1b5b7aba429161b81.tar.gz
Sprinkle a few more const; from Tiago Cunha.
Diffstat (limited to '')
-rw-r--r--kbfunc.c5
1 files changed, 3 insertions, 2 deletions
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 <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;