summaryrefslogtreecommitdiffstats
path: root/Objects/descrobject.c
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-10-21 22:26:43 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-10-21 22:26:43 (GMT)
commit2677512fc17487fc8cb0989353face9bd112dd67 (patch)
tree3d52890a6aacd54e4c2f3963c0dac7d6a4603ad8 /Objects/descrobject.c
parentc3ffef66665eade1e2fc10dcc271828a995ef74e (diff)
downloadcpython-2677512fc17487fc8cb0989353face9bd112dd67.zip
cpython-2677512fc17487fc8cb0989353face9bd112dd67.tar.gz
cpython-2677512fc17487fc8cb0989353face9bd112dd67.tar.bz2
Adding missing "static" declarations (found by "make smelly").
Diffstat (limited to 'Objects/descrobject.c')
-rw-r--r--Objects/descrobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index 1d525da..e4d9f33 100644
--- a/Objects/descrobject.c
+++ b/Objects/descrobject.c
@@ -673,7 +673,7 @@ proxy_getiter(proxyobject *pp)
return PyObject_GetIter(pp->dict);
}
-PyObject *
+static PyObject *
proxy_str(proxyobject *pp)
{
return PyObject_Str(pp->dict);
@@ -693,7 +693,7 @@ proxy_traverse(PyObject *self, visitproc visit, void *arg)
return 0;
}
-PyTypeObject proxytype = {
+static PyTypeObject proxytype = {
PyObject_HEAD_INIT(&PyType_Type)
0, /* ob_size */
"dict-proxy", /* tp_name */
@@ -827,7 +827,7 @@ wrapper_traverse(PyObject *self, visitproc visit, void *arg)
return 0;
}
-PyTypeObject wrappertype = {
+static PyTypeObject wrappertype = {
PyObject_HEAD_INIT(&PyType_Type)
0, /* ob_size */
"method-wrapper", /* tp_name */