summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/miscfuncs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r--winsup/cygwin/miscfuncs.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index 3d76ed823..5f0625447 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -27,7 +27,6 @@ details. */
#include "dtable.h"
#include "cygheap.h"
#include "pinfo.h"
-#include "sigproc.h"
#include "exception.h"
long tls_ix = -1;
@@ -547,7 +546,7 @@ thread_wrapper (VOID *arg)
: : [WRAPPER_ARG] "r" (&wrapper_arg),
[CYGTLS] "i" (CYGTLS_PADSIZE));
/* Never return from here. */
- exit_thread (0);
+ ExitThread (0);
}
HANDLE WINAPI