-Wwrite-strings: The Rest
[deliverable/binutils-gdb.git] / gdb / python / py-event.c
index dc1d73e78b4ba5898969c5a9ea56a882e09e6c49..b349891269fc859be44908434e06fe13d937a093 100644 (file)
@@ -47,7 +47,7 @@ create_event_object (PyTypeObject *py_type)
    function acquires a new reference to ATTR.  */
 
 int
-evpy_add_attribute (PyObject *event, char *name, PyObject *attr)
+evpy_add_attribute (PyObject *event, const char *name, PyObject *attr)
 {
   return PyObject_SetAttrString (event, name, attr);
 }
@@ -67,7 +67,7 @@ gdbpy_initialize_event (void)
 
 int
 gdbpy_initialize_event_generic (PyTypeObject *type,
-                                char *name)
+                                const char *name)
 {
   if (PyType_Ready (type) < 0)
     return -1;
This page took 0.025548 seconds and 4 git commands to generate.