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

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 *restuple;
PyObject *object; PyObject *object;