Avoid name shadowing to fix build under powerpc64.

Error was:

cc1: warnings being treated as errors
.../usr.bin/m4/misc.c: In function 'm4errx':
.../usr.bin/m4/misc.c:268: warning: declaration of 'eval' shadows a global declaration
.../usr.bin/m4/extern.h:40: warning: shadowed declaration is here
This commit is contained in:
Julio Merino 2014-08-07 14:26:44 +00:00
parent 14607326b9
commit 3b70f97f92

View File

@ -265,7 +265,7 @@ killdiv(void)
extern char *__progname;
void
m4errx(int eval, const char *fmt, ...)
m4errx(int exitstatus, const char *fmt, ...)
{
fprintf(stderr, "%s: ", __progname);
fprintf(stderr, "%s at line %lu: ", CURRENT_NAME, CURRENT_LINE);
@ -277,7 +277,7 @@ m4errx(int eval, const char *fmt, ...)
va_end(ap);
}
fprintf(stderr, "\n");
exit(eval);
exit(exitstatus);
}
/*