summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-09-25 01:37:24 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-09-25 01:37:24 (GMT)
commita5ca2e7220c22facc20a13ab6a8dc4c80b8624e5 (patch)
treefa54db76ccd1ea6abe6d169edb866e329135bbfb
parent2dc820599bfb50e7e25dd47ba2d11244701d1a9f (diff)
downloadcpython-a5ca2e7220c22facc20a13ab6a8dc4c80b8624e5.zip
cpython-a5ca2e7220c22facc20a13ab6a8dc4c80b8624e5.tar.gz
cpython-a5ca2e7220c22facc20a13ab6a8dc4c80b8624e5.tar.bz2
Remove 'extern' declaration for _Py_SwappedOp.
-rw-r--r--Objects/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index b28420d..3f70009 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;