Make some private functions static (thanks make smelly)

This commit is contained in:
Antoine Pitrou 2009-05-24 21:25:49 +00:00
parent 118ebe19db
commit 69f7114fc2
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -3117,6 +3117,7 @@ free_string_array(char **array, Py_ssize_t count)
PyMem_DEL(array);
}
static
int fsconvert_strdup(PyObject *o, char**out)
{
PyObject *bytes;