Fix compiler warning about unused function.

This commit is contained in:
Mark Dickinson 2009-09-27 16:32:34 +00:00
parent 66d8ce510a
commit a55fe10487

View file

@ -182,6 +182,8 @@ get_long(PyObject *v, long *p)
/* Same, but handling unsigned long */
#ifndef PY_STRUCT_OVERFLOW_MASKING
static int
get_ulong(PyObject *v, unsigned long *p)
{
@ -202,6 +204,8 @@ get_ulong(PyObject *v, unsigned long *p)
return 0;
}
#endif /* PY_STRUCT_OVERFLOW_MASKING */
#ifdef HAVE_LONG_LONG
/* Same, but handling native long long. */