diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2005-08-01 05:26:41 (GMT) |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2005-08-01 05:26:41 (GMT) |
commit | e295676c87d0a27ca4798a1d817ede88cc860586 (patch) | |
tree | 99d5bfeb4e8b5ee01dafbaa8b2484326e0c60074 /Objects | |
parent | 06d8cf8ceb7e1486cf36f45751f51ac07349f73c (diff) | |
download | cpython-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')
-rw-r--r-- | Objects/setobject.c | 2 |
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 */ |