summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-11-02 07:39:27 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-11-02 07:39:27 +0000
commita30a999bb02478243fe4c0b3d012596c5398dfdd (patch)
tree7ed8a27492588c82bef1e74c993de2751e405974 /include
parentd8fe0f7534a6b52549992238c061e4e7a5b319ab (diff)
Hopefully fix the struct tm extension problem once and for all.
Also fix a dst-related bug which caused the use of uninitialized data.
Diffstat (limited to 'include')
-rw-r--r--include/time.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/time.h b/include/time.h
index e4b746c6d..f957dc210 100644
--- a/include/time.h
+++ b/include/time.h
@@ -143,12 +143,11 @@ struct tm
#ifdef __UCLIBC_HAS_TM_EXTENSIONS__
#ifdef __USE_BSD
long int tm_gmtoff; /* Seconds east of UTC. */
- __const char *tm_zone; /* Timezone abbreviation. */
+ __const char *tm_zone; /* Timezone abbreviation. */
#else
long int __tm_gmtoff; /* Seconds east of UTC. */
- __const char *__tm_zone; /* Timezone abbreviation. */
+ __const char *__tm_zone; /* Timezone abbreviation. */
#endif
- char __tm_tzname[8]; /* In uClibc, tm_zone points to __tm_tzname. */
#endif /* __UCLIBC_HAS_TM_EXTENSIONS__ */
};
__END_NAMESPACE_STD