diff options
Diffstat (limited to 'gdb/python/py-event.h')
-rw-r--r-- | gdb/python/py-event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-event.h b/gdb/python/py-event.h index 4b2f4c03ab3..ccb851339c8 100644 --- a/gdb/python/py-event.h +++ b/gdb/python/py-event.h @@ -131,9 +131,9 @@ extern int emit_clear_objfiles_event (void); extern void evpy_dealloc (PyObject *self); extern int evpy_add_attribute (PyObject *event, - char *name, PyObject *attr) + const char *name, PyObject *attr) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION; -int gdbpy_initialize_event_generic (PyTypeObject *type, char *name) +int gdbpy_initialize_event_generic (PyTypeObject *type, const char *name) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION; #endif /* GDB_PY_EVENT_H */ |