From: Neal Norwitz Date: Fri, 31 May 2002 13:11:40 +0000 (+0000) Subject: Py_IgnoreEnvironmentFlag should be extern, since it is declared in pythonrun.c X-Git-Tag: v2.3c1~5551 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5352d8c0c6ae6cce7af2fef7a3fb9ee26c6aad9b;p=python Py_IgnoreEnvironmentFlag should be extern, since it is declared in pythonrun.c --- diff --git a/Parser/pgen.c b/Parser/pgen.c index 03d3c826da..f3fdb46d1e 100644 --- a/Parser/pgen.c +++ b/Parser/pgen.c @@ -13,7 +13,7 @@ #include "pgen.h" extern int Py_DebugFlag; -int Py_IgnoreEnvironmentFlag; /* needed by Py_GETENV */ +extern int Py_IgnoreEnvironmentFlag; /* needed by Py_GETENV */ /* PART ONE -- CONSTRUCT NFA -- Cf. Algorithm 3.2 from [Aho&Ullman 77] */