noncontroversial changes

SCCS-file: zdump.c
SCCS-SID: 8.6
This commit is contained in:
Arthur David Olson
2012-07-18 03:03:03 -04:00
committed by Paul Eggert
parent 21113732a1
commit cbd7d91c4b
+5 -6
View File
@@ -88,6 +88,9 @@ static char elsieid[] = "%W%";
#define SECSPERNYEAR (SECSPERDAY * DAYSPERNYEAR)
#define SECSPERLYEAR (SECSPERNYEAR + SECSPERDAY)
#ifndef HAVE_GETTEXT
#define HAVE_GETTEXT 0
#endif
#if HAVE_GETTEXT
#include "locale.h" /* for setlocale */
#include "libintl.h"
@@ -129,10 +132,6 @@ static char elsieid[] = "%W%";
#define TZ_DOMAIN "tz"
#endif /* !defined TZ_DOMAIN */
#ifndef P
#define P(x) x
#endif /* !defined P */
extern char ** environ;
extern int getopt(int argc, char * const argv[],
const char * options);
@@ -394,7 +393,7 @@ _("%s: usage is %s [ --version ] [ -v ] [ -c [loyear,]hiyear ] zonename ...\n"),
}
static void
setabsolutes()
setabsolutes(void)
{
if (0.5 == (time_t) 0.5) {
/*
@@ -592,7 +591,7 @@ struct tm * tmp;
*/
static const char *
tformat()
tformat(void)
{
if (0.5 == (time_t) 0.5) { /* floating */
if (sizeof (time_t) > sizeof (double))