This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] 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>

2011-07-11  Mike Frysinger  <vapier@gentoo.org>

	* sim-command.c: Include sim-options.h.
---
 sim/common/sim-command.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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
-- 
1.7.6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]