diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-06-20 05:35:40 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-06-20 05:35:40 +0000 |
commit | 218c435dac739fd53484058fe0fa5b9f2f40dd89 (patch) | |
tree | 0d937e6f042dcd5d5a3f36da30c100d863e8bb65 /usr.bin/true | |
parent | 368a18f96bfd614efb90acc5c4dfdfdbb8b0d530 (diff) | |
download | FreeBSD-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.c | 2 |
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; } |