summaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2000-08-29 07:04:32 +0000
committerlukem <lukem@NetBSD.org>2000-08-29 07:04:32 +0000
commitf5e2e0bfea36daee83a00d7e07aafe2c12a4422c (patch)
treec61f76df12c7d965614915635f091bb2c15c6a70 /lib/libedit
parent051d885a24af5b3b99f114ac94890666bb25dcce (diff)
history_def_set has a `const int' as a third arg, not an `int'.
picked up by the ultrix compiler, reported by simonb@ ...
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/history.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/history.c b/lib/libedit/history.c
index 6b872a687d4..b0d688b1977 100644
--- a/lib/libedit/history.c
+++ b/lib/libedit/history.c
@@ -1,4 +1,4 @@
-/* $NetBSD: history.c,v 1.14 1999/07/02 15:21:25 simonb Exp $ */
+/* $NetBSD: history.c,v 1.15 2000/08/29 07:04:32 lukem Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)history.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: history.c,v 1.14 1999/07/02 15:21:25 simonb Exp $");
+__RCSID("$NetBSD: history.c,v 1.15 2000/08/29 07:04:32 lukem Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -316,7 +316,7 @@ private int
history_def_set(p, ev, n)
ptr_t p;
HistEvent *ev;
- int n;
+ const int n;
{
history_t *h = (history_t *) p;