- followup for issue #18997, make _clear_joined_ptr static.

This commit is contained in:
doko@ubuntu.com 2013-09-18 12:12:28 +02:00
parent dafea85190
commit 0648bf795c
1 changed files with 1 additions and 1 deletions

View 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 /* Py_CLEAR for a PyObject* that uses a join flag. Pass the pointer by
* reference since this function sets it to NULL. * reference since this function sets it to NULL.
*/ */
void _clear_joined_ptr(PyObject **p) static void _clear_joined_ptr(PyObject **p)
{ {
if (*p) { if (*p) {
PyObject *tmp = JOIN_OBJ(*p); PyObject *tmp = JOIN_OBJ(*p);