ext2sim: Ensure main() have return type and arguments
This commit is contained in:
parent
22e8ab847c
commit
bb6e55efb1
|
|
@ -46,6 +46,7 @@ endmatch(
|
|||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
main(
|
||||
int argc,
|
||||
char *argv[])
|
||||
|
|
@ -75,6 +76,7 @@ main(
|
|||
HashStartSearch(&hs);
|
||||
while (he = HashNext(&ht, &hs))
|
||||
printf("%s\n", he->h_key.h_name);
|
||||
return 0;
|
||||
}
|
||||
|
||||
char *
|
||||
|
|
|
|||
|
|
@ -121,7 +121,8 @@ addMos(
|
|||
}
|
||||
|
||||
|
||||
main ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
int i;
|
||||
char str[STRLEN];
|
||||
|
|
|
|||
Loading…
Reference in New Issue