diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-06 19:56:15 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-06 19:56:15 +0000 |
commit | 0bb7c9d10935b320ada567dc0e46f3b23eea2793 (patch) | |
tree | f94dedc462fe650fffd5bc949d20edf3f09d22cb /src/helper | |
parent | 2b673d0c1e190f76b1bd2c5a7f7f1242bd1c3d18 (diff) | |
download | openocd+libswd-0bb7c9d10935b320ada567dc0e46f3b23eea2793.tar.gz openocd+libswd-0bb7c9d10935b320ada567dc0e46f3b23eea2793.tar.bz2 openocd+libswd-0bb7c9d10935b320ada567dc0e46f3b23eea2793.tar.xz openocd+libswd-0bb7c9d10935b320ada567dc0e46f3b23eea2793.zip |
fix a few compilation problems.
git-svn-id: svn://svn.berlios.de/openocd/trunk@758 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/command.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/helper/command.c b/src/helper/command.c index 386572ed..55f950bf 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -305,6 +305,14 @@ int parse_line(char *line, char *words[], int max_words) return nwords; } +void command_output_text( command_context_t *context, const char *data ) +{ + if( context && context->output_handler && data ){ + context->output_handler( context, data ); + } +} + + void command_print_n(command_context_t *context, char *format, ...) { char *string; |