From e26c13adf68b1b5d232a24497363f79effdea7e4 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Wed, 23 May 2001 22:20:37 +0000 Subject: remove VOID. We're way beyond the point where this could build with an ancient compiler. --- usr.bin/mg/re_search.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/mg/re_search.c') 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 -- cgit v1.2.3