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:
Diffstat (limited to 'winsup/cygwin/lib/cygwin_attach_dll.c')
-rw-r--r--winsup/cygwin/lib/cygwin_attach_dll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/lib/cygwin_attach_dll.c b/winsup/cygwin/lib/cygwin_attach_dll.c
index 440cace57..1791a4bf2 100644
--- a/winsup/cygwin/lib/cygwin_attach_dll.c
+++ b/winsup/cygwin/lib/cygwin_attach_dll.c
@@ -17,7 +17,7 @@ details. */
int
cygwin_attach_dll (HMODULE h, MainFunc f)
{
- struct per_process u;
+ static struct per_process u;
(void) _cygwin_crt0_common (f, &u);
/* jump into the dll. */