diff options
author | jmmv <jmmv@FreeBSD.org> | 2014-08-07 14:26:44 +0000 |
---|---|---|
committer | jmmv <jmmv@FreeBSD.org> | 2014-08-07 14:26:44 +0000 |
commit | 297c72eb671348283e80a07ad8dc6659dadb0c5a (patch) | |
tree | 84756efcaaea4fb3d00788956a681f270210cd6a /usr.bin | |
parent | f5deabd6ea9ab53354f0aac2ccdb8272773cce21 (diff) | |
download | FreeBSD-src-297c72eb671348283e80a07ad8dc6659dadb0c5a.zip FreeBSD-src-297c72eb671348283e80a07ad8dc6659dadb0c5a.tar.gz |
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
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/m4/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/m4/misc.c b/usr.bin/m4/misc.c index ebf0198..1959448 100644 --- a/usr.bin/m4/misc.c +++ b/usr.bin/m4/misc.c @@ -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); } /* |