]> granicus.if.org Git - python/commitdiff
- followup for issue #18997, make _clear_joined_ptr static.
authordoko@ubuntu.com <doko@ubuntu.com>
Wed, 18 Sep 2013 10:12:28 +0000 (12:12 +0200)
committerdoko@ubuntu.com <doko@ubuntu.com>
Wed, 18 Sep 2013 10:12:28 +0000 (12:12 +0200)
Modules/_elementtree.c

index da09aa07c3420e936c6fce6b5139822dd319e9d9..57503d5ec095be525579d843a71b6d2155869fd1 100644 (file)
@@ -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);