From 218c435dac739fd53484058fe0fa5b9f2f40dd89 Mon Sep 17 00:00:00 2001 From: jmallett Date: Thu, 20 Jun 2002 05:35:40 +0000 Subject: A function which takes no arguments has an argument list spelled (void) in the world of ANSI C. --- usr.bin/false/false.c | 2 +- usr.bin/true/true.c | 2 +- 2 files changed, 2 insertions(+), 2 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; } 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; } -- cgit v1.1