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.
This commit is contained in:
Christopher Faylor
2001-09-06 04:41:59 +00:00
parent 4ce15a4980
commit 08b78edf5a
20 changed files with 45 additions and 38 deletions

View File

@ -18,8 +18,8 @@ extern void __stdcall check_sanity_and_sync (per_process *);
dll_list NO_COPY dlls;
static NO_COPY int in_forkee = 0;
static int dll_global_dtors_recorded = 0;
static NO_COPY int in_forkee;
static int dll_global_dtors_recorded;
/* Run destructors for all DLLs on exit. */
static void