aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-progspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-progspace.c')
-rw-r--r--gdb/python/py-progspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-progspace.c b/gdb/python/py-progspace.c
index 34baa87..ac8f6d5 100644
--- a/gdb/python/py-progspace.c
+++ b/gdb/python/py-progspace.c
@@ -27,7 +27,7 @@
#include "solib.h"
#include "block.h"
-typedef struct
+struct pspace_object
{
PyObject_HEAD
@@ -52,7 +52,7 @@ typedef struct
/* The debug method list. */
PyObject *xmethods;
-} pspace_object;
+};
extern PyTypeObject pspace_object_type
CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("pspace_object");