diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2020-07-29 14:29:14 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2020-07-29 16:43:59 +0200 |
commit | 88ecdc34365974186cd8248e88029d89ff4cfd85 (patch) | |
tree | d5dfc6f7818c20b07b565df80cd1fc300c6c47d5 /src/execute.hpp | |
parent | 5a4c7d45456b1f1a6d57ae749b5254345066c9c5 (diff) | |
download | ccache-88ecdc34365974186cd8248e88029d89ff4cfd85.tar.gz |
C++-ify win32argvtos
Diffstat (limited to 'src/execute.hpp')
-rw-r--r-- | src/execute.hpp | 3 |
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, |