From 1b7a1248a8b82b7027685aa5951943c516fa2e06 Mon Sep 17 00:00:00 2001 From: Misa Date: Thu, 23 Sep 2021 23:26:00 -0700 Subject: [PATCH] Declare Windows `mkdir` as `static` It's not going to be used in any other files so... best to declare it static. --- desktop_version/src/FileSystemUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/FileSystemUtils.cpp b/desktop_version/src/FileSystemUtils.cpp index 49fb220c..a396beaa 100644 --- a/desktop_version/src/FileSystemUtils.cpp +++ b/desktop_version/src/FileSystemUtils.cpp @@ -16,7 +16,7 @@ #if defined(_WIN32) #include #include -int mkdir(char* path, int mode) +static int mkdir(char* path, int mode) { WCHAR utf16_path[MAX_PATH]; MultiByteToWideChar(CP_UTF8, 0, path, -1, utf16_path, MAX_PATH);