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

world of ANSI C.
This commit is contained in:
Juli Mallett 2002-06-20 05:35:40 +00:00
parent 0e6c085ae6
commit d7b8563d55
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98467
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;
}