summaryrefslogtreecommitdiffstats
path: root/usr.bin/true
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/true
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/true')
-rw-r--r--usr.bin/true/true.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/true/true.c b/usr.bin/true/true.c
index ac17b6c..8e2f255 100644
--- a/usr.bin/true/true.c
+++ b/usr.bin/true/true.c
@@ -44,7 +44,7 @@ static const char sccsid[] = "@(#)true.c 8.1 (Berkeley) 6/9/93";
#endif /* not lint */
int
-main()
+main(void)
{
return 0;
}
OpenPOWER on IntegriCloud