summaryrefslogtreecommitdiff
path: root/usr.bin/mg/match.c
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2003-05-20 03:08:56 +0000
committerChad Loder <cloder@cvs.openbsd.org>2003-05-20 03:08:56 +0000
commit432e1933b587fdd20bb98292db72c10db3f6bbba (patch)
treea642dc02dabda28d4caec9b9732902b3e99c9376 /usr.bin/mg/match.c
parentc8970e4cfa2bf9e352575593aab2a8f3c3e82761 (diff)
Finish KNF of prototypes. That should be all of them.
OK vincent@
Diffstat (limited to 'usr.bin/mg/match.c')
-rw-r--r--usr.bin/mg/match.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.bin/mg/match.c b/usr.bin/mg/match.c
index 8900ab10386..94ec8792191 100644
--- a/usr.bin/mg/match.c
+++ b/usr.bin/mg/match.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: match.c,v 1.8 2002/02/16 21:27:49 millert Exp $ */
+/* $OpenBSD: match.c,v 1.9 2003/05/20 03:08:55 cloder Exp $ */
/*
* Limited parenthesis matching routines
@@ -49,8 +49,7 @@ static struct balance {
* character, if any. Bound to "blink-matching-paren-command".
*/
int
-showmatch(f, n)
- int f, n;
+showmatch(int f, int n)
{
int i, s;
@@ -75,7 +74,7 @@ showmatch(f, n)
*/
static int
-balance()
+balance(void)
{
LINE *clp;
int cbo;
@@ -146,9 +145,7 @@ balance()
*/
static void
-displaymatch(clp, cbo)
- LINE *clp;
- int cbo;
+displaymatch(LINE *clp, int cbo)
{
LINE *tlp;
int tbo;