X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fconfiguration.h;h=e29ef7346415a35f785bb628b083edef9fd61956;hp=894d874ce97a2380c92c2ab8ae82b19bd6cf3738;hb=dfbb9f3e89ae;hpb=71471b07fd91655acd7c36618f7ac6ef34f5b66f diff --git a/src/helper/configuration.h b/src/helper/configuration.h index 894d874ce9..e29ef73464 100644 --- a/src/helper/configuration.h +++ b/src/helper/configuration.h @@ -27,8 +27,9 @@ extern int parse_cmdline_args(struct command_context_s *cmd_ctx, int argc, char extern int parse_config_file(struct command_context_s *cmd_ctx); extern void add_config_command (const char *cfg); extern void add_script_search_dir (const char *dir); -extern int configuration_output_handler(struct command_context_s *context, char* line); +extern int configuration_output_handler(struct command_context_s *context, const char* line); extern FILE *open_file_from_path (char *file, char *mode); -extern char *find_file(char *name); +extern char *find_file(const char *name); +int add_default_dirs(void); #endif /* CONFIGURATION_H */