Make a helper function static in clang-target-wrapper.c

This commit is contained in:
Martin Storsjö committed 2018-10-08 14:15:25 +03:00
1 parent 818766d3d4
commit 945845fba2
1 file changed
+1 -1
+1 -1
View File
@@ -46,7 +46,7 @@ typedef char TCHAR;
#define EXECVP_CAST (char **)
#endif
TCHAR *escape(const TCHAR *str) {
static TCHAR *escape(const TCHAR *str) {
#ifdef _WIN32
TCHAR *out = malloc((_tcslen(str) * 2 + 3) * sizeof(*out));
TCHAR *ptr = out;