diff --git a/src/fileio.cpp b/src/fileio.cpp index 858ac5abba..6658955a95 100644 --- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -436,7 +436,7 @@ void FioCreateDirectory(const char *name) * @param buf string to append the separator to * @param buflen the length of the buf */ -static void AppendPathSeparator(char *buf, size_t buflen) +void AppendPathSeparator(char *buf, size_t buflen) { size_t s = strlen(buf); diff --git a/src/fileio_func.h b/src/fileio_func.h index 4b42e4908a..b2d2da8032 100644 --- a/src/fileio_func.h +++ b/src/fileio_func.h @@ -57,6 +57,7 @@ char *FioAppendDirectory(char *buf, size_t buflen, Searchpath sp, Subdirectory s char *FioGetDirectory(char *buf, size_t buflen, Subdirectory subdir); void SanitizeFilename(char *filename); +void AppendPathSeparator(char *buf, size_t buflen); void DeterminePaths(const char *exe); void *ReadFileToMem(const char *filename, size_t *lenp, size_t maxsize); bool FileExists(const char *filename);