From aef3fb082ce3fec607ac2ba0afe71db1195a7ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 2 May 2009 19:27:30 +0000 Subject: Make PyCodec_SurrogateErrors static. --- Python/codecs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Python/codecs.c b/Python/codecs.c index 3f1412d..633a24c 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; -- cgit v0.12