From: doko@ubuntu.com Date: Wed, 18 Sep 2013 10:12:28 +0000 (+0200) Subject: - followup for issue #18997, make _clear_joined_ptr static. X-Git-Tag: v3.4.0a3~48^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0648bf795c1e036cc398e4077c4e5e952b2bb087;p=thirdparty%2FPython%2Fcpython.git - followup for issue #18997, make _clear_joined_ptr static. --- diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c index da09aa07c342..57503d5ec095 100644 --- a/Modules/_elementtree.c +++ b/Modules/_elementtree.c @@ -103,7 +103,7 @@ do { memory -= size; printf("%8d - %s\n", memory, comment); } while (0) /* Py_CLEAR for a PyObject* that uses a join flag. Pass the pointer by * reference since this function sets it to NULL. */ -void _clear_joined_ptr(PyObject **p) +static void _clear_joined_ptr(PyObject **p) { if (*p) { PyObject *tmp = JOIN_OBJ(*p);