summaryrefslogtreecommitdiff
path: root/lib/libedit/map.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2002-03-18 16:00:50 +0000
committerchristos <christos@NetBSD.org>2002-03-18 16:00:50 +0000
commit0e0ac6b723c2e4e089e5ebcb438b4119aa52feab (patch)
tree2783049b91e3ef3a999a3d40318af39b874b8beb /lib/libedit/map.h
parentac992d6bf732747de0acd8210735c529ed158ddb (diff)
- constify; passes all gcc and lint strict checks.
- add config.h [Jason Evans], to create a portable version of libedit that can be easily compiled on other OS's.
Diffstat (limited to 'lib/libedit/map.h')
-rw-r--r--lib/libedit/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/map.h b/lib/libedit/map.h
index ed4b2537f65..3c9948ccf88 100644
--- a/lib/libedit/map.h
+++ b/lib/libedit/map.h
@@ -1,4 +1,4 @@
-/* $NetBSD: map.h,v 1.6 2001/01/09 17:22:09 jdolecek Exp $ */
+/* $NetBSD: map.h,v 1.7 2002/03/18 16:00:56 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -67,7 +67,7 @@ typedef struct el_map_t {
#define MAP_EMACS 0
#define MAP_VI 1
-protected int map_bind(EditLine *, int, char **);
+protected int map_bind(EditLine *, int, const char **);
protected int map_init(EditLine *);
protected void map_end(EditLine *);
protected void map_init_vi(EditLine *);