mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-28 21:18:27 +00:00
noncontroversial changes
SCCS-file: zdump.c SCCS-SID: 8.6
This commit is contained in:
committed by
Paul Eggert
parent
21113732a1
commit
cbd7d91c4b
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user