Remove Python 2.4 and 2.5 support
[deliverable/binutils-gdb.git] / gdb / python / py-utils.c
index 0f96aab718a9c04705f7b23dfe113ead796a9c57..a380b34afe85410ccce6eac68a0224609b85b502 100644 (file)
@@ -382,8 +382,7 @@ gdb_pymodule_addobject (PyObject *module, const char *name, PyObject *object)
   int result;
 
   Py_INCREF (object);
-  /* Python 2.4 did not have a 'const' here.  */
-  result = PyModule_AddObject (module, (char *) name, object);
+  result = PyModule_AddObject (module, name, object);
   if (result < 0)
     Py_DECREF (object);
   return result;
This page took 0.026008 seconds and 4 git commands to generate.