Make PyCodec_SurrogateErrors static.

This commit is contained in:
Martin v. Löwis 2009-05-02 19:27:30 +00:00
parent 4ae1f261f8
commit aef3fb082c
1 changed files with 4 additions and 1 deletions

View File

@ -748,7 +748,10 @@ PyObject *PyCodec_BackslashReplaceErrors(PyObject *exc)
}
}
PyObject *PyCodec_SurrogateErrors(PyObject *exc)
/* This handler is declared static until someone demonstrates
a need to call it directly. */
static PyObject *
PyCodec_SurrogateErrors(PyObject *exc)
{
PyObject *restuple;
PyObject *object;