From 5592f70ec8e16bca9b12d04932d792a86e0ffe9e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 15 Apr 2011 16:23:19 +0000 Subject: gdb: sim: add style fixes lost between git->cvs --- include/gdb/remote-sim.h | 1 + sim/common/sim-options.c | 1 + 2 files changed, 2 insertions(+) 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) { -- cgit v1.1