From: Brett Cannon Date: Sat, 25 Sep 2004 01:37:24 +0000 (+0000) Subject: Remove 'extern' declaration for _Py_SwappedOp. X-Git-Tag: v2.4b1~187 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5ca2e7220c22facc20a13ab6a8dc4c80b8624e5;p=python Remove 'extern' declaration for _Py_SwappedOp. --- diff --git a/Objects/object.c b/Objects/object.c index b28420d27c..3f70009bd3 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -476,7 +476,7 @@ adjust_tp_compare(int c) ? (t)->tp_richcompare : NULL) /* Map rich comparison operators to their swapped version, e.g. LT --> GT */ -extern int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE}; +int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE}; /* Try a genuine rich comparison, returning an object. Return: NULL for exception;