From e295676c87d0a27ca4798a1d817ede88cc860586 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Mon, 1 Aug 2005 05:26:41 +0000 Subject: Fix build on gcc: PySetIter_Type should be static in definition part also. --- Objects/setobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12