diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-05-24 21:25:49 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-05-24 21:25:49 (GMT) |
commit | 69f7114fc298b0332fd5e9754eaf41256bd6d5da (patch) | |
tree | ccf78a5ec6b57299cd47f6080b0718fc71206255 /Modules/_functoolsmodule.c | |
parent | 118ebe19db0f5ef0459c158179010ce30259afe7 (diff) | |
download | cpython-69f7114fc298b0332fd5e9754eaf41256bd6d5da.zip cpython-69f7114fc298b0332fd5e9754eaf41256bd6d5da.tar.gz cpython-69f7114fc298b0332fd5e9754eaf41256bd6d5da.tar.bz2 |
Make some private functions static (thanks `make smelly`)
Diffstat (limited to 'Modules/_functoolsmodule.c')
-rw-r--r-- | Modules/_functoolsmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_functoolsmodule.c b/Modules/_functoolsmodule.c index 5f389a9..a9cdcb8 100644 --- a/Modules/_functoolsmodule.c +++ b/Modules/_functoolsmodule.c @@ -203,7 +203,7 @@ static PyGetSetDef partial_getsetlist[] = { it as a hook to do stange things. */ -PyObject * +static PyObject * partial_reduce(partialobject *pto, PyObject *unused) { return Py_BuildValue("O(O)(OOOO)", Py_TYPE(pto), pto->fn, pto->fn, @@ -211,7 +211,7 @@ partial_reduce(partialobject *pto, PyObject *unused) pto->dict ? pto->dict : Py_None); } -PyObject * +static PyObject * partial_setstate(partialobject *pto, PyObject *args) { PyObject *fn, *fnargs, *kw, *dict; |