Problem: Compiler warning for ambiguous else, missing prototype.
Solution: Add braces. (Dominique Pelle) Add prototype for die().
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 153,
/**/
152,
/**/
/* Let's collect some prototypes */
/* CodeWarrior is really picky about missing prototypes */
static void exit_with_usage __P((void));
+static void die __P((int));
static int huntype __P((FILE *, FILE *, FILE *, int, int, long));
static void xxdline __P((FILE *, char *, int));
while (s--)
if (getc(fp) == EOF)
+ {
if (ferror(fp))
{
die(2);
fprintf(stderr, "%s: sorry cannot seek.\n", pname);
return 4;
}
+ }
}
}