summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dll_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/dll_init.h')
-rw-r--r--winsup/cygwin/dll_init.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/dll_init.h b/winsup/cygwin/dll_init.h
index b6c24b2fb..9a712a3cc 100644
--- a/winsup/cygwin/dll_init.h
+++ b/winsup/cygwin/dll_init.h
@@ -51,8 +51,7 @@ struct dll
HMODULE handle;
int count;
dll_type type;
- int namelen;
- WCHAR name[ANYSIZE_ARRAY];
+ WCHAR name[1];
void detach ();
int init ();
};
@@ -73,7 +72,7 @@ public:
dll *alloc (HINSTANCE, per_process *, dll_type);
void detach (void *);
void init ();
- void load_after_fork (HANDLE, dll *);
+ void load_after_fork (HANDLE);
dll *inext ()
{
while ((hold = hold->next))