diff options
| author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-10-21 22:26:43 +0000 |
|---|---|---|
| committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-10-21 22:26:43 +0000 |
| commit | 2677512fc17487fc8cb0989353face9bd112dd67 (patch) | |
| tree | 3d52890a6aacd54e4c2f3963c0dac7d6a4603ad8 /Modules | |
| parent | c3ffef66665eade1e2fc10dcc271828a995ef74e (diff) | |
| download | cpython-git-2677512fc17487fc8cb0989353face9bd112dd67.tar.gz | |
Adding missing "static" declarations (found by "make smelly").
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/newmodule.c | 2 | ||||
| -rw-r--r-- | Modules/xxsubtype.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/newmodule.c b/Modules/newmodule.c index 7b91fb8bc3..9a9cbf1685 100644 --- a/Modules/newmodule.c +++ b/Modules/newmodule.c @@ -215,7 +215,7 @@ static PyMethodDef new_methods[] = { {NULL, NULL} /* sentinel */ }; -char new_doc[] = +static char new_doc[] = "Functions to create new objects used by the interpreter.\n\ \n\ You need to know a great deal about the interpreter to use this!"; diff --git a/Modules/xxsubtype.c b/Modules/xxsubtype.c index ae2b619dd3..bbc5ea9b77 100644 --- a/Modules/xxsubtype.c +++ b/Modules/xxsubtype.c @@ -197,7 +197,7 @@ static PyTypeObject spamdict_type = { 0, /* tp_new */ }; -PyObject * +static PyObject * spam_bench(PyObject *self, PyObject *args) { PyObject *obj, *name, *res; |
