From ea7fdb1927345be59cedfe7d44fb8485992cdd6f Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 16 Feb 2018 12:46:31 +0100 Subject: [PATCH] fix Get_full_filename() prototype --- src/io.c | 2 +- src/io.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io.c b/src/io.c index 5d637a13..d7d51359 100644 --- a/src/io.c +++ b/src/io.c @@ -524,7 +524,7 @@ void For_each_directory_entry(const char * directory_name, void * pdata, T_File_ } -void Get_full_filename(char * output_name, char * file_name, char * directory_name) +void Get_full_filename(char * output_name, const char * file_name, const char * directory_name) { strcpy(output_name,directory_name); if (output_name[0] != '\0') diff --git a/src/io.h b/src/io.h index e9acd431..3c49cade 100644 --- a/src/io.h +++ b/src/io.h @@ -107,7 +107,7 @@ void For_each_directory_entry(const char * directory_name, void * pdata, T_File_ /// /// Creates a fully qualified name from a directory and filename. /// The point is simply to insert a PATH_SEPARATOR when needed. -void Get_full_filename(char * output_name, char * file_name, char * directory_name); +void Get_full_filename(char * output_name, const char * file_name, const char * directory_name); /// /// Appends a file or directory name to an existing directory name.