aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-15 16:23:19 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-15 16:23:19 +0000
commit5592f70ec8e16bca9b12d04932d792a86e0ffe9e (patch)
tree291b57ddd8cef9bd8fad37ff86d58703a273aa3b
parentcf31e6f9321a5449dd75d5263b917058c232dd80 (diff)
downloadgdb-5592f70ec8e16bca9b12d04932d792a86e0ffe9e.zip
gdb-5592f70ec8e16bca9b12d04932d792a86e0ffe9e.tar.gz
gdb-5592f70ec8e16bca9b12d04932d792a86e0ffe9e.tar.bz2
gdb: sim: add style fixes lost between git->cvs
-rw-r--r--include/gdb/remote-sim.h1
-rw-r--r--sim/common/sim-options.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/gdb/remote-sim.h b/include/gdb/remote-sim.h
index 5f6000d..14a86a8 100644
--- a/include/gdb/remote-sim.h
+++ b/include/gdb/remote-sim.h
@@ -278,6 +278,7 @@ void sim_do_command (SIM_DESC sd, char *cmd);
/* Complete a command based on the available sim commands. Returns an
array of possible matches. */
+
char **sim_complete_command (SIM_DESC sd, char *text, char *word);
#ifdef __cplusplus
diff --git a/sim/common/sim-options.c b/sim/common/sim-options.c
index ee8a8ec..cfc572c 100644
--- a/sim/common/sim-options.c
+++ b/sim/common/sim-options.c
@@ -945,6 +945,7 @@ complete_option_list (char **ret, size_t *cnt, const struct option_list *ol,
/* All leading text is stored in @text, while the current word being
completed is stored in @word. Trailing text of @word is not. */
+
char **
sim_complete_command (SIM_DESC sd, char *text, char *word)
{