summaryrefslogtreecommitdiff
path: root/usr.bin/mg
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-14 15:42:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-14 15:42:18 +0000
commita445bb9547320c8889a5c3717b1a254605533a85 (patch)
treeba705b425e4f7b1ba947d7515f21745600f8a7b5 /usr.bin/mg
parent4b9467958ee5122739fed933a534376cf6a44382 (diff)
put proto in same #ifdef as code
Diffstat (limited to 'usr.bin/mg')
-rw-r--r--usr.bin/mg/extend.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mg/extend.c b/usr.bin/mg/extend.c
index d5c41a26514..6aef9a4ad47 100644
--- a/usr.bin/mg/extend.c
+++ b/usr.bin/mg/extend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: extend.c,v 1.35 2005/08/09 00:53:48 kjell Exp $ */
+/* $OpenBSD: extend.c,v 1.36 2005/10/14 15:42:17 deraadt Exp $ */
/* This file is in the public domain. */
@@ -29,7 +29,9 @@ static void fixmap(KEYMAP *, KEYMAP *, KEYMAP *);
static int dobind(KEYMAP *, const char *, int);
static char *skipwhite(char *);
static char *parsetoken(char *);
+#ifdef BINDKEY
static int bindkey(KEYMAP **, const char *, KCHAR *, int);
+#endif /* BINDKEY */
/*
* Insert a string, mainly for use from macros (created by selfinsert).