summaryrefslogtreecommitdiffstats
path: root/lib/libedit/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libedit/key.c')
-rw-r--r--lib/libedit/key.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libedit/key.c b/lib/libedit/key.c
index 3da65d5..24e56a8 100644
--- a/lib/libedit/key.c
+++ b/lib/libedit/key.c
@@ -36,6 +36,8 @@
#if !defined(lint) && !defined(SCCSID)
static char sccsid[] = "@(#)key.c 8.1 (Berkeley) 6/4/93";
+static const char rcsid[] =
+ "$FreeBSD$";
#endif /* not lint && not SCCSID */
/*
@@ -601,7 +603,7 @@ key_kprint(el, key, val, ntype)
{
el_bindings_t *fp;
char unparsbuf[EL_BUFSIZ];
- static char *fmt = "%-15s-> %s\n";
+ static const char fmt[] = "%-15s-> %s\n";
if (val != NULL)
switch (ntype) {
OpenPOWER on IntegriCloud