summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/external.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r--winsup/cygwin/external.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 04604b365..2bcbc7047 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -32,6 +32,8 @@ details. */
void *hook_cygwin (const char *, const void *);
child_info *get_cygwin_startup_info ();
+static winpids pids;
+
static external_pinfo *
fillout_pinfo (pid_t pid, int winpid)
{
@@ -41,7 +43,6 @@ fillout_pinfo (pid_t pid, int winpid)
if ((nextpid = !!(pid & CW_NEXTPID)))
pid ^= CW_NEXTPID;
- static winpids pids (0);
static unsigned int i;
if (!pids.npids || !nextpid)