aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-signalevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-signalevent.c')
-rw-r--r--gdb/python/py-signalevent.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/python/py-signalevent.c b/gdb/python/py-signalevent.c
index 98a47f1..d5b1f27 100644
--- a/gdb/python/py-signalevent.c
+++ b/gdb/python/py-signalevent.c
@@ -20,7 +20,7 @@
#include "defs.h"
#include "py-stopevent.h"
-static PyTypeObject signal_event_object_type
+extern PyTypeObject signal_event_object_type
CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("event_object");
PyObject *
@@ -57,5 +57,4 @@ GDBPY_NEW_EVENT_TYPE (signal,
"gdb.SignalEvent",
"SignalEvent",
"GDB signal event object",
- stop_event_object_type,
- static);
+ stop_event_object_type);