Add missing "static" declarations (found by "make smelly").
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 913bea0..4e8f967 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -80,7 +80,7 @@
return PyDictProxy_New(type->tp_dict);
}
-PyGetSetDef type_getsets[] = {
+static PyGetSetDef type_getsets[] = {
{"__name__", (getter)type_name, NULL, NULL},
{"__module__", (getter)type_module, (setter)type_set_module, NULL},
{"__dict__", (getter)type_dict, NULL, NULL},
@@ -371,7 +371,7 @@
instead of PyObject_GetAttrString(). This uses the same convention
as lookup_method to cache the interned name string object. */
-PyObject *
+static PyObject *
call_method(PyObject *o, char *name, PyObject **nameobj, char *format, ...)
{
va_list va;
@@ -407,7 +407,7 @@
/* Clone of call_method() that returns NotImplemented when the lookup fails. */
-PyObject *
+static PyObject *
call_maybe(PyObject *o, char *name, PyObject **nameobj, char *format, ...)
{
va_list va;
@@ -674,7 +674,7 @@
return dict;
}
-PyGetSetDef subtype_getsets[] = {
+static PyGetSetDef subtype_getsets[] = {
{"__dict__", subtype_dict, NULL, NULL},
{0},
};