From: Fredrik Lundh Date: Fri, 26 May 2006 12:01:49 +0000 (+0000) Subject: Py_LOCAL shouldn't be used for data; it works for some .NET 2003 compilers, X-Git-Tag: v2.5b1~483 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b94940165b4e2b789855b24ea0297ebed691c46;p=thirdparty%2FPython%2Fcpython.git Py_LOCAL shouldn't be used for data; it works for some .NET 2003 compilers, but Trent's copy thinks that it's an anachronism... --- diff --git a/Python/ceval.c b/Python/ceval.c index da27fff9e277..c5ae6cc2bb13 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -105,7 +105,7 @@ Py_LOCAL(PyObject *) load_args(PyObject ***, int); #define CALL_FLAG_KW 2 #ifdef LLTRACE -Py_LOCAL(int) lltrace; +static int lltrace; Py_LOCAL(int) prtrace(PyObject *, char *); #endif Py_LOCAL(int) call_trace(Py_tracefunc, PyObject *, PyFrameObject *,