summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2005-08-01 05:26:41 (GMT)
committerHye-Shik Chang <hyeshik@gmail.com>2005-08-01 05:26:41 (GMT)
commite295676c87d0a27ca4798a1d817ede88cc860586 (patch)
tree99d5bfeb4e8b5ee01dafbaa8b2484326e0c60074 /Objects/setobject.c
parent06d8cf8ceb7e1486cf36f45751f51ac07349f73c (diff)
downloadcpython-e295676c87d0a27ca4798a1d817ede88cc860586.zip
cpython-e295676c87d0a27ca4798a1d817ede88cc860586.tar.gz
cpython-e295676c87d0a27ca4798a1d817ede88cc860586.tar.bz2
Fix build on gcc: PySetIter_Type should be static in definition
part also.
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 34e64e4..7d23284 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -602,7 +602,7 @@ fail:
return NULL;
}
-PyTypeObject PySetIter_Type = {
+static PyTypeObject PySetIter_Type = {
PyObject_HEAD_INIT(&PyType_Type)
0, /* ob_size */
"setiterator", /* tp_name */