Constify add_info
[deliverable/binutils-gdb.git] / gdb / ada-tasks.c
index e0070d5b9abeb439dae99cfd485a6ec991483ee3..1d5542d5d641e46921098aeae0b3ac2c288b19bc 100644 (file)
@@ -1147,7 +1147,7 @@ print_ada_task_info (struct ui_out *uiout,
    for the given inferior (INF).  */
 
 static void
-info_task (struct ui_out *uiout, char *taskno_str, struct inferior *inf)
+info_task (struct ui_out *uiout, const char *taskno_str, struct inferior *inf)
 {
   const int taskno = value_as_long (parse_and_eval (taskno_str));
   struct ada_task_info *task_info;
@@ -1237,7 +1237,7 @@ info_task (struct ui_out *uiout, char *taskno_str, struct inferior *inf)
    Does nothing if the program doesn't use Ada tasking.  */
 
 static void
-info_tasks_command (char *arg, int from_tty)
+info_tasks_command (const char *arg, int from_tty)
 {
   struct ui_out *uiout = current_uiout;
 
This page took 0.037461 seconds and 4 git commands to generate.