Make a helper function static in clang-target-wrapper.c
This commit is contained in:
1 parent
818766d3d4
commit
945845fba2
1 file changed
+1
-1
@@ -46,7 +46,7 @@ typedef char TCHAR;
|
|||||||
#define EXECVP_CAST (char **)
|
#define EXECVP_CAST (char **)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
TCHAR *escape(const TCHAR *str) {
|
static TCHAR *escape(const TCHAR *str) {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
TCHAR *out = malloc((_tcslen(str) * 2 + 3) * sizeof(*out));
|
TCHAR *out = malloc((_tcslen(str) * 2 + 3) * sizeof(*out));
|
||||||
TCHAR *ptr = out;
|
TCHAR *ptr = out;
|
||||||
|
|||||||
Reference in new issue
Block a user