*/
#ifdef Py_DEBUG
-int unicode_old_new_calls = 0;
+static int unicode_old_new_calls = 0;
#endif
static PyUnicodeObject *
}
#ifdef Py_DEBUG
-int unicode_new_new_calls = 0;
+static int unicode_new_new_calls = 0;
/* Functions wrapping macros for use in debugger */
char *_PyUnicode_utf8(void *unicode){
}
#ifdef Py_DEBUG
-int unicode_ready_calls = 0;
+static int unicode_ready_calls = 0;
#endif
static int
/* Ensure that a string uses the most efficient storage, if it is not the
case: create a new string with of the right kind. Write NULL into *p_unicode
on error. */
-void
+static void
unicode_adjust_maxchar(PyObject **p_unicode)
{
PyObject *unicode, *copy;
}
#ifdef Py_DEBUG
-int unicode_as_unicode_calls = 0;
+static int unicode_as_unicode_calls = 0;
#endif
pop out of ASCII range. Otherwise returns the length of the
required buffer to hold the string.
*/
-Py_ssize_t
+static Py_ssize_t
length_of_escaped_ascii_string(const char *s, Py_ssize_t size)
{
const unsigned char *p = (const unsigned char *)s;