Skip to content
Snippets Groups Projects
Commit 0a9daddc authored by Zachary T Welch's avatar Zachary T Welch
Browse files

improve constness of open_file_from_path

parent ccf59123
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,7 @@ char *find_file(const char *file)
return NULL;
}
FILE *open_file_from_path (char *file, char *mode)
FILE *open_file_from_path(const char *file, const char *mode)
{
if (mode[0]!='r')
{
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment