summaryrefslogtreecommitdiff
path: root/gdb/python/py-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-event.h')
-rw-r--r--gdb/python/py-event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-event.h b/gdb/python/py-event.h
index 92a71f675af..5832a568efc 100644
--- a/gdb/python/py-event.h
+++ b/gdb/python/py-event.h
@@ -32,12 +32,12 @@
#include "py-event-types.def"
#undef GDB_PY_DEFINE_EVENT_TYPE
-typedef struct
+struct event_object
{
PyObject_HEAD
PyObject *dict;
-} event_object;
+};
extern int emit_continue_event (ptid_t ptid);
extern int emit_exited_event (const LONGEST *exit_code, struct inferior *inf);