summaryrefslogtreecommitdiff
path: root/usr.bin/mg/re_search.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
commite26c13adf68b1b5d232a24497363f79effdea7e4 (patch)
tree2c22022762ad93a7ad1a83baa723395e85baef55 /usr.bin/mg/re_search.c
parentdedc2917e1594f44221d8474a7317eca1669caf8 (diff)
remove VOID. We're way beyond the point where this could build with an
ancient compiler.
Diffstat (limited to 'usr.bin/mg/re_search.c')
-rw-r--r--usr.bin/mg/re_search.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/re_search.c b/usr.bin/mg/re_search.c
index afddea279a4..2d46316309b 100644
--- a/usr.bin/mg/re_search.c
+++ b/usr.bin/mg/re_search.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re_search.c,v 1.7 2001/01/29 01:58:09 niklas Exp $ */
+/* $OpenBSD: re_search.c,v 1.8 2001/05/23 22:20:36 art Exp $ */
/*
* regular expression search commands for Mg
@@ -174,7 +174,7 @@ retry:
goto stopsearch;
case CCHR('G'): /* ^G */
- (VOID)ctrlg(FFRAND, 0);
+ (void)ctrlg(FFRAND, 0);
case CCHR('['): /* ESC */
case '`':
goto stopsearch;
@@ -430,7 +430,7 @@ re_readpattern(prompt)
if (s == TRUE) {
/* New pattern given */
- (VOID)strcpy(re_pat, tpat);
+ (void)strcpy(re_pat, tpat);
if (casefoldsearch)
flags = REG_EXTENDED | REG_ICASE;
else