A function which takes no arguments has an argument list spelled (void) in the
world of ANSI C.
This commit is contained in:
parent
368a18f96b
commit
218c435dac
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user