mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 10:43:32 +00:00
KNF -> ANSI function declarations
Reviewed by: md5(1)
This commit is contained in:
parent
d911c680ee
commit
578a176b1e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91137
@ -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 New Issue
Block a user