diff options
author | Tom Tromey <tromey@redhat.com> | 2008-12-22 19:45:58 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-12-22 19:45:58 +0000 |
commit | 1446eb676faa451b31f37766f758d2c7df1ac26e (patch) | |
tree | 1decc6d90c212101aeaf0500594c889c0937ebd9 /gdb/python | |
parent | f2f35b75ff2ed85fc9be04608e88dc3345d9617e (diff) | |
download | gdb-1446eb676faa451b31f37766f758d2c7df1ac26e.zip gdb-1446eb676faa451b31f37766f758d2c7df1ac26e.tar.gz gdb-1446eb676faa451b31f37766f758d2c7df1ac26e.tar.bz2 |
* python/python-value.c (valpy_length): Remove #if.
Diffstat (limited to 'gdb/python')
-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 b23174c..9db7208 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. */ |