summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-11-03 14:51:42 +0000
committerChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-11-03 14:51:42 +0000
commitfc2afa2187c47c08797529c4ef6a0070ac0e3d27 (patch)
tree522bae8edd305616316c63f932f05a42509fcc55
parent08a75fff4755579e5093b2d09de0346293801d1d (diff)
This should be void.
-rw-r--r--usr.bin/mg/buffer.c4
-rw-r--r--usr.bin/mg/def.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mg/buffer.c b/usr.bin/mg/buffer.c
index a2e84abb2b3..bb1a4946705 100644
--- a/usr.bin/mg/buffer.c
+++ b/usr.bin/mg/buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buffer.c,v 1.85 2012/10/23 20:51:17 florian Exp $ */
+/* $OpenBSD: buffer.c,v 1.86 2012/11/03 14:51:41 haesbaert Exp $ */
/* This file is in the public domain. */
@@ -897,7 +897,7 @@ revertbuffer(int f, int n)
}
int
-dorevert()
+dorevert(void)
{
int lineno;
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index 2efe5cc6f36..7b03ca3cbbf 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.127 2012/10/22 08:31:42 florian Exp $ */
+/* $OpenBSD: def.h,v 1.128 2012/11/03 14:51:41 haesbaert Exp $ */
/* This file is in the public domain. */
@@ -416,7 +416,7 @@ int popbuftop(struct buffer *, int);
int getbufcwd(char *, size_t);
int checkdirty(struct buffer *);
int revertbuffer(int, int);
-int dorevert();
+int dorevert(void);
/* display.c */
int vtresize(int, int, int);