diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-11 03:59:02 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-11 03:59:02 +0000 |
commit | 8a5b25790f064c408d747c9f087c4d45207fc3e4 (patch) | |
tree | d276df705a180dff9bea39c7b634545663a7acbf /src/helper/command.h | |
parent | 5a818f71d77b0327f7f26a5dd17d6baecc1b58ea (diff) |
Audit and eliminate redundant helper #include directives.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1706 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/command.h')
-rw-r--r-- | src/helper/command.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/helper/command.h b/src/helper/command.h index 49609a68..5fc0a283 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -23,7 +23,16 @@ #ifndef COMMAND_H #define COMMAND_H +/* Integrate the JIM TCL interpretor into the command processing. */ +#if BUILD_ECOSBOARD #include <stdio.h> +#include <stdarg.h> +/* Jim is provied by eCos */ +#include <cyg/jimtcl/jim.h> +#else +#define JIM_EMBEDDED +#include "jim.h" +#endif enum command_mode { @@ -87,16 +96,6 @@ extern void process_jim_events(void); extern int fast_and_dangerous; -/* Integrate the JIM TCL interpretor into the command processing. */ -#include <stdarg.h> -#if BUILD_ECOSBOARD -/* Jim is provied by eCos */ -#include <cyg/jimtcl/jim.h> -#else -#define JIM_EMBEDDED -#include "jim.h" -#endif - extern Jim_Interp *interp; void register_jim(command_context_t *context, const char *name, int (*cmd)(Jim_Interp *interp, int argc, Jim_Obj *const *argv), const char *help); |