diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mi/mi-cmds.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6237dee..b06339f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-08-31 Yao Qi <yao@codesourcery.com> + + * mi/mi-cmds.c (mi_cmds): Add 'static'. + 2012-08-29 Doug Evans <dje@google.com> * main.c (print_gdb_help): Remove reference to diff --git a/gdb/mi/mi-cmds.c b/gdb/mi/mi-cmds.c index 79fbba1..aebc2b8 100644 --- a/gdb/mi/mi-cmds.c +++ b/gdb/mi/mi-cmds.c @@ -30,7 +30,7 @@ struct mi_cmd; static struct mi_cmd **lookup_table (const char *command); static void build_table (struct mi_cmd *commands); -struct mi_cmd mi_cmds[] = +static struct mi_cmd mi_cmds[] = { { "ada-task-info", { NULL, 0 }, mi_cmd_ada_task_info }, { "add-inferior", { NULL, 0 }, mi_cmd_add_inferior }, |