From: Martin v. Löwis Date: Sat, 2 May 2009 19:27:30 +0000 (+0000) Subject: Make PyCodec_SurrogateErrors static. X-Git-Tag: v3.1b1~79 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aef3fb082ce3fec607ac2ba0afe71db1195a7ba7;p=thirdparty%2FPython%2Fcpython.git Make PyCodec_SurrogateErrors static. --- diff --git a/Python/codecs.c b/Python/codecs.c index 3f1412d00ca6..633a24c6611e 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -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;