diff options
Diffstat (limited to 'gdb/python/python-value.c')
-rw-r--r-- | gdb/python/python-value.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/python/python-value.c b/gdb/python/python-value.c index b23174ca2b7..9db72084047 100644 --- a/gdb/python/python-value.c +++ b/gdb/python/python-value.c @@ -132,11 +132,7 @@ valpy_dereference (PyObject *self, PyObject *args) return value_to_value_object (res_val); } -#ifdef HAVE_LIBPYTHON2_4 -static int -#else static Py_ssize_t -#endif valpy_length (PyObject *self) { /* We don't support getting the number of elements in a struct / class. */ |