diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-04-25 18:50:39 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-04-25 18:50:39 +0000 |
commit | 35d76d595010892b34aab92a8d98238119db1b3b (patch) | |
tree | e0fe61cb802fb531cf71e4689a4822479824bfb9 /timezone/zdump.c | |
parent | a3cc4f48e94f32c9532ee36982ac00eb1e5719b0 (diff) | |
download | glibc-35d76d595010892b34aab92a8d98238119db1b3b.tar.gz glibc-35d76d595010892b34aab92a8d98238119db1b3b.tar.xz glibc-35d76d595010892b34aab92a8d98238119db1b3b.zip |
Update zdump and zic from tzcode 2012b.
Diffstat (limited to 'timezone/zdump.c')
-rw-r--r-- | timezone/zdump.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/timezone/zdump.c b/timezone/zdump.c index 7122bbf891..67bed06bc3 100644 --- a/timezone/zdump.c +++ b/timezone/zdump.c @@ -3,7 +3,7 @@ ** 2009-05-17 by Arthur David Olson. */ -static char elsieid[] = "@(#)zdump.c 8.9"; +static char elsieid[] = "@(#)zdump.c 8.10"; /* ** This code has been made independent of the rest of the time @@ -236,7 +236,9 @@ const char * const zone; } static void -usage(const char *progname, FILE *stream, int status) +usage(stream, status) +FILE * const stream; +const int status; { (void) fprintf(stream, _("%s: usage is %s [ --version ] [ --help ] [ -v ] [ -c [loyear,]hiyear ] zonename ...\n\ @@ -283,7 +285,7 @@ char * argv[]; (void) printf("%s\n", elsieid); exit(EXIT_SUCCESS); } else if (strcmp(argv[i], "--help") == 0) { - usage(progname, stdout, EXIT_SUCCESS); + usage(stdout, EXIT_SUCCESS); } vflag = 0; cutarg = NULL; @@ -293,7 +295,7 @@ char * argv[]; else cutarg = optarg; if ((c != EOF && c != -1) || (optind == argc - 1 && strcmp(argv[optind], "=") == 0)) { - usage(progname, stderr, EXIT_FAILURE); + usage(stderr, EXIT_FAILURE); } if (vflag) { if (cutarg != NULL) { |