summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2013-09-18 10:12:28 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2013-09-18 10:12:28 (GMT)
commit0648bf795c1e036cc398e4077c4e5e952b2bb087 (patch)
tree7aeacfadb50bd1ab63d8e2b85b8dd81fc93aab60
parentdafea851901fc1de278ad79727d3b44f46ba5a31 (diff)
downloadcpython-0648bf795c1e036cc398e4077c4e5e952b2bb087.zip
cpython-0648bf795c1e036cc398e4077c4e5e952b2bb087.tar.gz
cpython-0648bf795c1e036cc398e4077c4e5e952b2bb087.tar.bz2
- followup for issue #18997, make _clear_joined_ptr static.
-rw-r--r--Modules/_elementtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index da09aa0..57503d5 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);