diff options
| author | chopps <chopps@NetBSD.org> | 2000-02-28 17:41:04 +0000 |
|---|---|---|
| committer | chopps <chopps@NetBSD.org> | 2000-02-28 17:41:04 +0000 |
| commit | fe7be4eb7b2fc86e84eabe338a1fc9beabc39709 (patch) | |
| tree | 0d311c5b35a3964997feb4bf1a338947b5e6e662 /lib/libedit/histedit.h | |
| parent | f539e10ff8a68dcbbabbcb5f534814678c894398 (diff) | |
el_insertstr takes a "const char *" not "char *" now as it doesn't modify
the argument.
Diffstat (limited to 'lib/libedit/histedit.h')
| -rw-r--r-- | lib/libedit/histedit.h | 4 |
1 files changed, 2 insertions, 2 deletions
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)); /* |
