A function which takes no arguments has an argument list spelled (void) in the

world of ANSI C.
This commit is contained in:
jmallett 2002-06-20 05:35:40 +00:00
parent 368a18f96b
commit 218c435dac
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}