aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/true
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2002-06-20 05:35:40 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2002-06-20 05:35:40 +0000
commitd7b8563d55f3b6ddd6a354a38e188be67d59e0ca (patch)
tree0d937e6f042dcd5d5a3f36da30c100d863e8bb65 /usr.bin/true
parent0e6c085ae69f1d8cca1a7a0caf80d1a16539b861 (diff)
downloadsrc-d7b8563d55f3b6ddd6a354a38e188be67d59e0ca.tar.gz
src-d7b8563d55f3b6ddd6a354a38e188be67d59e0ca.zip
A function which takes no arguments has an argument list spelled (void) in the
world of ANSI C.
Notes
Notes: svn path=/head/; revision=98467
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 ac17b6cce8a0..8e2f2554396a 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;
}