aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-07-12 20:21:28 +0000
committerMike Frysinger <vapier@gentoo.org>2011-07-12 20:21:28 +0000
commit10915d9a18d105de7a923061b07a2d932d64ae48 (patch)
treee9e03bee1dd6dd6ff4a90dc3c0a4ef26265066ef /sim/common
parent63042524903cded67585ff044537ac7f3ed8deb7 (diff)
downloadgdb-10915d9a18d105de7a923061b07a2d932d64ae48.zip
gdb-10915d9a18d105de7a923061b07a2d932d64ae48.tar.gz
gdb-10915d9a18d105de7a923061b07a2d932d64ae48.tar.bz2
sim: include sim-options.h for command prototype
The sim_args_command prototype is in sim-options.h, so pull it in directly rather than assuming a common header does it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/sim-command.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 83f9951..149a329 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2011-07-12 Mike Frysinger <vapier@gentoo.org>
+ * sim-command.c: Include sim-options.h.
+
+2011-07-12 Mike Frysinger <vapier@gentoo.org>
+
* aclocal.m4: Move sinclude comment after AC_INIT comment.
2011-07-12 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/common/sim-command.c b/sim/common/sim-command.c
index b6d0a19..a6d6b97 100644
--- a/sim/common/sim-command.c
+++ b/sim/common/sim-command.c
@@ -19,6 +19,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
+#include "sim-options.h"
#include "sim-utils.h"
/* Generic implementation of sim_do_command that works with simulators