fix Get_full_filename() prototype

This commit is contained in:
Thomas Bernard 2018-02-16 12:46:31 +01:00
parent ad219c84d2
commit ea7fdb1927
2 changed files with 2 additions and 2 deletions

View File

@ -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); strcpy(output_name,directory_name);
if (output_name[0] != '\0') if (output_name[0] != '\0')

View File

@ -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. /// Creates a fully qualified name from a directory and filename.
/// The point is simply to insert a PATH_SEPARATOR when needed. /// 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. /// Appends a file or directory name to an existing directory name.