diff options
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r-- | gdb/python/py-inferior.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index ae73040..5d13e07 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -50,7 +50,7 @@ typedef struct int nthreads; } inferior_object; -static PyTypeObject inferior_object_type +extern PyTypeObject inferior_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("inferior_object"); static const struct inferior_data *infpy_inf_data_key; @@ -64,7 +64,7 @@ typedef struct { CORE_ADDR length; } membuf_object; -static PyTypeObject membuf_object_type +extern PyTypeObject membuf_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("membuf_object"); /* Require that INFERIOR be a valid inferior ID. */ @@ -915,7 +915,7 @@ Return a long with the address of a match, or None." }, { NULL } }; -static PyTypeObject inferior_object_type = +PyTypeObject inferior_object_type = { PyVarObject_HEAD_INIT (NULL, 0) "gdb.Inferior", /* tp_name */ @@ -982,7 +982,7 @@ static PyBufferProcs buffer_procs = { }; #endif /* IS_PY3K */ -static PyTypeObject membuf_object_type = { +PyTypeObject membuf_object_type = { PyVarObject_HEAD_INIT (NULL, 0) "gdb.Membuf", /*tp_name*/ sizeof (membuf_object), /*tp_basicsize*/ |