diff options
Diffstat (limited to 'winsup/cygwin/lib/cygwin_attach_dll.c')
-rw-r--r-- | winsup/cygwin/lib/cygwin_attach_dll.c | 2 |
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. */ |