mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
KNF -> ANSI function declarations
Reviewed by: md5(1)
This commit is contained in:
parent
d911c680ee
commit
578a176b1e
1 changed files with 3 additions and 6 deletions
|
|
@ -183,9 +183,7 @@ void nomem(void);
|
|||
void onsig(int);
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int x, y, h, n;
|
||||
struct worm *w;
|
||||
|
|
@ -334,14 +332,13 @@ main(argc, argv)
|
|||
}
|
||||
|
||||
void
|
||||
onsig(signo)
|
||||
int signo;
|
||||
onsig(int signo)
|
||||
{
|
||||
sig_caught = 1;
|
||||
}
|
||||
|
||||
void
|
||||
nomem()
|
||||
nomem(void)
|
||||
{
|
||||
errx(1, "not enough memory.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue