aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-08-31 08:30:38 +0000
committerYao Qi <yao@codesourcery.com>2012-08-31 08:30:38 +0000
commitef07a9f76646bef69c1a6d5ed96ac4f8294c24d3 (patch)
treefed127abee111634d0e7242ba279c406ae06425b
parent80d873266deca488bd8059e32780e8ce3ef6191d (diff)
downloadgdb-ef07a9f76646bef69c1a6d5ed96ac4f8294c24d3.zip
gdb-ef07a9f76646bef69c1a6d5ed96ac4f8294c24d3.tar.gz
gdb-ef07a9f76646bef69c1a6d5ed96ac4f8294c24d3.tar.bz2
gdb/
* mi/mi-cmds.c (mi_cmds): Add 'static'.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/mi/mi-cmds.c2
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 },