Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-23 08:02:07 +0400
committerChristopher Faylor <me@cgf.cx>2003-09-23 08:02:07 +0400
commit3400b4fc441b639c751592a9d40775f715fad998 (patch)
treefc1949dea9c8437ebf89f6168143cc7e88715b01 /winsup/cygwin/debug.cc
parentd92d731fa51ccf56bda4ff9010d271b62f774bec (diff)
* dcrt0.cc (do_exit): Eliminate "C" linkage. Call events_terminate early.
(exit_states): Move out of source file into header file. * winsup.h: Move exit_states here. Remove "C" linkage from do_exit declaration. * debug.cc (lock_debug): Remove explicit (and incorrect) external for exit_state. * sigproc.cc (sig_dispatch_pending): Don't flush signals if exiting.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r--winsup/cygwin/debug.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc
index 962878471..1b4084feb 100644
--- a/winsup/cygwin/debug.cc
+++ b/winsup/cygwin/debug.cc
@@ -36,7 +36,6 @@ class lock_debug
public:
lock_debug () : acquired (0)
{
- extern int exit_state;
if (locker && !exit_state)
acquired = !!locker->acquire (INFINITE);
}