summaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/chared.c6
-rw-r--r--lib/libedit/editline.34
-rw-r--r--lib/libedit/histedit.h4
3 files changed, 7 insertions, 7 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;
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index 5129965c963..2fa0a9828f1 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: editline.3,v 1.19 1999/11/26 18:38:27 lukem Exp $
+.\" $NetBSD: editline.3,v 1.20 2000/02/28 17:41:05 chopps Exp $
.\"
.\" Copyright (c) 1997-1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -84,7 +84,7 @@
.Ft const LineInfo *
.Fn el_line "EditLine *e"
.Ft int
-.Fn el_insertstr "EditLine *e" "char *str"
+.Fn el_insertstr "EditLine *e" "const char *str"
.Ft void
.Fn el_deletestr "EditLine *e" "int count"
.Ft History *
diff --git a/lib/libedit/histedit.h b/lib/libedit/histedit.h
index 9f76a54ac2a..6c7d3b813fc 100644
--- a/lib/libedit/histedit.h
+++ b/lib/libedit/histedit.h
@@ -1,4 +1,4 @@
-/* $NetBSD: histedit.h,v 1.14 1999/11/12 01:05:07 lukem Exp $ */
+/* $NetBSD: histedit.h,v 1.15 2000/02/28 17:41:05 chopps Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -144,7 +144,7 @@ void el_resize __P((EditLine *));
* User-defined function interface.
*/
const LineInfo *el_line __P((EditLine *));
-int el_insertstr __P((EditLine *, char *));
+int el_insertstr __P((EditLine *, const char *));
void el_deletestr __P((EditLine *, int));
/*