diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-06 04:41:59 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-06 04:41:59 +0000 |
commit | 08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca (patch) | |
tree | a894d2763c28d56bc24769252b17870c38ab7141 /winsup/cygwin/localtime.cc | |
parent | 4ce15a498010f678c71cefdf2a2ac0db58f4fa93 (diff) | |
download | cygnal-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.tar.gz cygnal-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.tar.bz2 cygnal-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.zip |
Remove initialization of static or global values to zero, throughout. This
just needlessly grows the size of the DLL.
* tty.cc (tty::alive): Make inuse handle non-inheriting on open, just for
thread safety.
Diffstat (limited to 'winsup/cygwin/localtime.cc')
-rw-r--r-- | winsup/cygwin/localtime.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/localtime.cc b/winsup/cygwin/localtime.cc index 573ec8c8c..daf888a04 100644 --- a/winsup/cygwin/localtime.cc +++ b/winsup/cygwin/localtime.cc @@ -640,12 +640,12 @@ static struct tm tm; #undef _daylight #ifdef USG_COMPAT -time_t timezone = 0; -int daylight = 0; +time_t timezone; +int daylight; #endif /* defined USG_COMPAT */ #ifdef ALTZONE -time_t altzone = 0; +time_t altzone; #endif /* defined ALTZONE */ static long |