summaryrefslogtreecommitdiff
path: root/lib/libedit/common.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2011-07-29 20:58:07 +0000
committerchristos <christos@NetBSD.org>2011-07-29 20:58:07 +0000
commit4b7bc18132e98b03383ff6879a757d0dfd2e77b2 (patch)
tree262fdbf0ba06334d65cab4714479170ce0f12eb3 /lib/libedit/common.c
parent5b800c61a412f3a3f52fb2403e2dc43df566a1a4 (diff)
- fix unused params
- unconditionalize vis.h
Diffstat (limited to 'lib/libedit/common.c')
-rw-r--r--lib/libedit/common.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libedit/common.c b/lib/libedit/common.c
index 660918e9ab8..d8e8b4fa731 100644
--- a/lib/libedit/common.c
+++ b/lib/libedit/common.c
@@ -1,4 +1,4 @@
-/* $NetBSD: common.c,v 1.27 2011/07/29 15:20:39 christos Exp $ */
+/* $NetBSD: common.c,v 1.28 2011/07/29 20:58:07 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)common.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: common.c,v 1.27 2011/07/29 15:20:39 christos Exp $");
+__RCSID("$NetBSD: common.c,v 1.28 2011/07/29 20:58:07 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -137,7 +137,7 @@ ed_delete_prev_word(EditLine *el, Int c __attribute__((__unused__)))
*/
protected el_action_t
/*ARGSUSED*/
-ed_delete_next_char(EditLine *el, Int c)
+ed_delete_next_char(EditLine *el, Int c __attribute__((__unused__)))
{
#ifdef DEBUG_EDIT
#define EL el->el_line
@@ -432,7 +432,8 @@ ed_argument_digit(EditLine *el, Int c)
*/
protected el_action_t
/*ARGSUSED*/
-ed_unassigned(EditLine *el, Int c __attribute__((__unused__)))
+ed_unassigned(EditLine *el __attribute__((__unused__)),
+ Int c __attribute__((__unused__)))
{
return CC_ERROR;