mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
A function which takes no arguments has an argument list spelled (void) in the
world of ANSI C.
This commit is contained in:
parent
0e6c085ae6
commit
d7b8563d55
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue