[Python-checkins] cpython (merge 3.3 -> default): - followup for issue #18997, make _clear_joined_ptr static.

matthias.klose python-checkins at python.org
Wed Sep 18 12:13:38 CEST 2013


http://hg.python.org/cpython/rev/269be4aacb8e
changeset:   85738:269be4aacb8e
parent:      85732:6b747ad4a99a
parent:      85737:111a74819192
user:        doko at ubuntu.com
date:        Wed Sep 18 12:13:18 2013 +0200
summary:
  - followup for issue #18997, make _clear_joined_ptr static.

files:
  Modules/_elementtree.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -62,7 +62,7 @@
 /* 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);

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list