fix Get_full_filename() prototype
This commit is contained in:
parent
ad219c84d2
commit
ea7fdb1927
2
src/io.c
2
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')
|
||||
|
||||
2
src/io.h
2
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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user