summaryrefslogtreecommitdiffstats
path: root/usr.bin/false
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-20 05:35:40 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-20 05:35:40 +0000
commit218c435dac739fd53484058fe0fa5b9f2f40dd89 (patch)
tree0d937e6f042dcd5d5a3f36da30c100d863e8bb65 /usr.bin/false
parent368a18f96bfd614efb90acc5c4dfdfdbb8b0d530 (diff)
downloadFreeBSD-src-218c435dac739fd53484058fe0fa5b9f2f40dd89.zip
FreeBSD-src-218c435dac739fd53484058fe0fa5b9f2f40dd89.tar.gz
A function which takes no arguments has an argument list spelled (void) in the
world of ANSI C.
Diffstat (limited to 'usr.bin/false')
-rw-r--r--usr.bin/false/false.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/false/false.c b/usr.bin/false/false.c
index 11d69ae..da950f9 100644
--- a/usr.bin/false/false.c
+++ b/usr.bin/false/false.c
@@ -44,7 +44,7 @@ static const char sccsid[] = "@(#)false.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
int
-main()
+main(void)
{
return 1;
}
OpenPOWER on IntegriCloud