]> git.sur5r.net Git - openocd/blobdiff - src/helper/options.c
improve buf_set_buf helper
[openocd] / src / helper / options.c
index a0c9a9e92859cef112913c985bbe1a7f4b7a856f..e26782ff937473cde80cf5bc265b373b249356f2 100644 (file)
@@ -25,7 +25,6 @@
 #endif
 
 #include "configuration.h"
-#include "log.h"
 // @todo the inclusion of server.h here is a layering violation
 #include "server.h"
 
@@ -46,7 +45,7 @@ static struct option long_options[] =
        {0, 0, 0, 0}
 };
 
-int configuration_output_handler(struct command_context_s *context, const char* line)
+int configuration_output_handler(struct command_context *context, const char* line)
 {
        LOG_USER_N("%s", line);
 
@@ -108,7 +107,7 @@ static void add_default_dirs(void)
 #endif
 }
 
-int parse_cmdline_args(struct command_context_s *cmd_ctx, int argc, char *argv[])
+int parse_cmdline_args(struct command_context *cmd_ctx, int argc, char *argv[])
 {
        int c;
        char command_buffer[128];