From 0bb7c9d10935b320ada567dc0e46f3b23eea2793 Mon Sep 17 00:00:00 2001 From: oharboe Date: Sun, 6 Jul 2008 19:56:15 +0000 Subject: fix a few compilation problems. git-svn-id: svn://svn.berlios.de/openocd/trunk@758 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/command.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/helper') 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; -- cgit v1.2.3