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

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


http://hg.python.org/cpython/rev/111a74819192
changeset:   85737:111a74819192
branch:      3.3
parent:      85731:2dfe8262093c
user:        doko at ubuntu.com
date:        Wed Sep 18 12:12:28 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
@@ -103,7 +103,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