ext2sim: Ensure main() have return type and arguments

This commit is contained in:
Darryl L. Miles
2025-07-27 12:49:54 -04:00
committed by R. Timothy Edwards
parent 22e8ab847c
commit bb6e55efb1
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -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 *
+2 -1
View File
@@ -121,7 +121,8 @@ addMos(
}
main ()
int
main (int argc, char *argv[])
{
int i;
char str[STRLEN];