summaryrefslogtreecommitdiff
path: root/src/execute.hpp
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2020-07-29 14:29:14 +0200
committerJoel Rosdahl <joel@rosdahl.net>2020-07-29 16:43:59 +0200
commit88ecdc34365974186cd8248e88029d89ff4cfd85 (patch)
treed5dfc6f7818c20b07b565df80cd1fc300c6c47d5 /src/execute.hpp
parent5a4c7d45456b1f1a6d57ae749b5254345066c9c5 (diff)
downloadccache-88ecdc34365974186cd8248e88029d89ff4cfd85.tar.gz
C++-ify win32argvtos
Diffstat (limited to 'src/execute.hpp')
-rw-r--r--src/execute.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/execute.hpp b/src/execute.hpp
index 5bcff8cc..bbcef512 100644
--- a/src/execute.hpp
+++ b/src/execute.hpp
@@ -39,8 +39,7 @@ std::string find_executable_in_path(const std::string& name,
const std::string& path);
#ifdef _WIN32
-char* win32argvtos(const char* prefix, const char* const* argv, int* length);
-std::string win32getshell(const char* path);
+std::string win32getshell(const std::string& path);
int win32execute(const char* path,
const char* const* argv,
int doreturn,