X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fhelper%2Fconfiguration.h;h=caa80eec59edcf07d8c70d616a4c4ba6295bfb66;hb=91e054a9eaefcfdb2b4e1afa99494f31481bc777;hp=9b77a2561561aed7455fd0dc171964d04c0c19a1;hpb=98723c4ecdbe06f90c66f3abec27b792c3b38e34;p=openocd.git diff --git a/src/helper/configuration.h b/src/helper/configuration.h index 9b77a25615..caa80eec59 100644 --- a/src/helper/configuration.h +++ b/src/helper/configuration.h @@ -23,7 +23,7 @@ #ifndef CONFIGURATION_H #define CONFIGURATION_H -#include "command.h" +#include int parse_cmdline_args(struct command_context *cmd_ctx, int argc, char *argv[]); @@ -36,7 +36,7 @@ void add_script_search_dir(const char *dir); int configuration_output_handler(struct command_context *cmd_ctx, const char *line); -FILE *open_file_from_path(char *file, char *mode); +FILE *open_file_from_path(const char *file, const char *mode); char *find_file(const char *name);