From 08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 6 Sep 2001 04:41:59 +0000 Subject: 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. --- winsup/cygwin/dll_init.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/dll_init.cc') diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc index 6a299d45b..74bec0769 100644 --- a/winsup/cygwin/dll_init.cc +++ b/winsup/cygwin/dll_init.cc @@ -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 -- cgit v1.2.3