summaryrefslogtreecommitdiff
path: root/usr.bin/mg/util.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-23 22:20:37 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-23 22:20:37 +0000
commitd4054a9eb303cdc5f8c9a9a47ddd80d69fd56474 (patch)
tree3aadbf90cefc56d1ce987e55045048fce99821b8 /usr.bin/mg/util.c
parent36b70de85ddc366e90672610834d98ae7ae40b88 (diff)
remove VOID. We're way beyond the point where this could build with an
ancient compiler.
Diffstat (limited to 'usr.bin/mg/util.c')
-rw-r--r--usr.bin/mg/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mg/util.c b/usr.bin/mg/util.c
index 15b819793c7..679be05e33f 100644
--- a/usr.bin/mg/util.c
+++ b/usr.bin/mg/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.4 2001/01/29 01:58:09 niklas Exp $ */
+/* $OpenBSD: util.c,v 1.5 2001/05/23 22:20:36 art Exp $ */
/*
* Assorted commands.
@@ -230,7 +230,7 @@ int
justone(f, n)
int f, n;
{
- (VOID)delwhite(f, n);
+ (void)delwhite(f, n);
return linsert(1, ' ');
}
@@ -259,8 +259,8 @@ delwhite(f, n)
} while ((c = lgetc(curwp->w_dotp, curwp->w_doto)) == ' ' || c == '\t');
if (s == TRUE)
- (VOID)forwchar(FFRAND, 1);
- (VOID)ldelete((RSIZE)(col - curwp->w_doto), KNONE);
+ (void)forwchar(FFRAND, 1);
+ (void)ldelete((RSIZE)(col - curwp->w_doto), KNONE);
return TRUE;
}