summaryrefslogtreecommitdiff
path: root/lib/libedit/chared.c
diff options
context:
space:
mode:
authorchopps <chopps@NetBSD.org>2000-02-28 17:41:04 +0000
committerchopps <chopps@NetBSD.org>2000-02-28 17:41:04 +0000
commitfe7be4eb7b2fc86e84eabe338a1fc9beabc39709 (patch)
tree0d311c5b35a3964997feb4bf1a338947b5e6e662 /lib/libedit/chared.c
parentf539e10ff8a68dcbbabbcb5f534814678c894398 (diff)
el_insertstr takes a "const char *" not "char *" now as it doesn't modify
the argument.
Diffstat (limited to 'lib/libedit/chared.c')
-rw-r--r--lib/libedit/chared.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/chared.c b/lib/libedit/chared.c
index a510a6c6277..262fe15ef91 100644
--- a/lib/libedit/chared.c
+++ b/lib/libedit/chared.c
@@ -1,4 +1,4 @@
-/* $NetBSD: chared.c,v 1.7 1999/07/02 15:21:23 simonb Exp $ */
+/* $NetBSD: chared.c,v 1.8 2000/02/28 17:41:04 chopps Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)chared.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: chared.c,v 1.7 1999/07/02 15:21:23 simonb Exp $");
+__RCSID("$NetBSD: chared.c,v 1.8 2000/02/28 17:41:04 chopps Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -532,7 +532,7 @@ ch_end(el)
public int
el_insertstr(el, s)
EditLine *el;
- char *s;
+ const char *s;
{
int len;