mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 01:43:00 +02:00
ext2sim: Ensure main() have return type and arguments
This commit is contained in:
committed by
R. Timothy Edwards
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 *
|
||||
|
||||
+2
-1
@@ -121,7 +121,8 @@ addMos(
|
||||
}
|
||||
|
||||
|
||||
main ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
int i;
|
||||
char str[STRLEN];
|
||||
|
||||
Reference in New Issue
Block a user