From 0a9daddc2e20d9ff5053a9faf3e1ec11fd600c73 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 14:21:56 -0800 Subject: improve constness of open_file_from_path --- src/helper/configuration.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helper/configuration.h') diff --git a/src/helper/configuration.h b/src/helper/configuration.h index 9b77a256..ce9159c3 100644 --- a/src/helper/configuration.h +++ b/src/helper/configuration.h @@ -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); -- cgit v1.2.3