summaryrefslogtreecommitdiffstats
path: root/Modules/_elementtree.c
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2013-09-18 10:13:18 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2013-09-18 10:13:18 (GMT)
commit9937155a1cae5c59cb4a27493e52a30eb4eab755 (patch)
tree58a88e2936651294ef123f1a03dc39ab7226f618 /Modules/_elementtree.c
parent935349406aeb9d43fecea447f0309ce63ed3a406 (diff)
parent0648bf795c1e036cc398e4077c4e5e952b2bb087 (diff)
downloadcpython-9937155a1cae5c59cb4a27493e52a30eb4eab755.zip
cpython-9937155a1cae5c59cb4a27493e52a30eb4eab755.tar.gz
cpython-9937155a1cae5c59cb4a27493e52a30eb4eab755.tar.bz2
- followup for issue #18997, make _clear_joined_ptr static.
Diffstat (limited to 'Modules/_elementtree.c')
-rw-r--r--Modules/_elementtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index 5fec898..c7f48cd 100644
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -62,7 +62,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);