diff options
Diffstat (limited to 'gdb/python/py-event.h')
-rw-r--r-- | gdb/python/py-event.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/python/py-event.h b/gdb/python/py-event.h index 4850f1a3e45..f0ff629875d 100644 --- a/gdb/python/py-event.h +++ b/gdb/python/py-event.h @@ -88,11 +88,11 @@ 0 /* tp_alloc */ \ }; \ \ -void \ +int \ gdbpy_initialize_##name##_event (void) \ { \ - gdbpy_initialize_event_generic (&name##_event_object_type, \ - py_name); \ + return gdbpy_initialize_event_generic (&name##_event_object_type, \ + py_name); \ } typedef struct |