summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.cpp2
-rw-r--r--src/fileio_func.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index 858ac5abb..6658955a9 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 4b42e4908..b2d2da803 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);