From cafe89047c600bc4570616185239a545065f01cd Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 5 Jul 2000 14:42:58 +0000 Subject: [PATCH] Additional updates. --- simgear/Makefile.am | 1 + simgear/timing/lowleveltime.cxx | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/simgear/Makefile.am b/simgear/Makefile.am index cdba18bc..47c95629 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -35,6 +35,7 @@ SUBDIRS = \ screen \ $(SERIAL_DIRS) \ sky \ + timing \ xgl \ $(ZLIB_DIRS) diff --git a/simgear/timing/lowleveltime.cxx b/simgear/timing/lowleveltime.cxx index 2ae15700..d56f64b1 100644 --- a/simgear/timing/lowleveltime.cxx +++ b/simgear/timing/lowleveltime.cxx @@ -285,10 +285,10 @@ static void fgtzset_internal (int always, const char *tz) time(&now); static int is_initialized = 0; //register const char *tz; - register size_t l; - char *tzbuf; - unsigned short int hh, mm, ss; - unsigned short int whichrule; + // register size_t l; + // char *tzbuf; + // unsigned short int hh, mm, ss; + // unsigned short int whichrule; if (is_initialized && !always) return; @@ -789,7 +789,7 @@ static struct ttinfo * fgfind_transition (time_t timer) /**************************************************************************/ void fgtzfile_read (const char *file) { - static const char default_tzdir[] = TZDIR; + // static const char default_tzdir[] = TZDIR; size_t num_isstd, num_isgmt; register FILE *f; struct tzhead tzhead; @@ -993,7 +993,7 @@ void fgtzfile_read (const char *file) /****************************************************************************/ static void fgcompute_tzname_max (size_t chars) { - extern size_t tzname_cur_max; /* Defined in tzset.c. */ + // extern size_t tzname_cur_max; /* Defined in tzset.c. */ const char *p; -- 2.39.5