diff options
author | Scott Graham <scottmg@chromium.org> | 2014-11-09 07:01:23 (GMT) |
---|---|---|
committer | Scott Graham <scottmg@chromium.org> | 2014-11-09 07:01:23 (GMT) |
commit | 4ee1cb54d77d902a0223ebde12dff3b3efec8a8d (patch) | |
tree | bd771c7674ee2fe5ba4c334948c9149ba4ea98b9 /src/util.h | |
parent | 559389de082406f44ae752a2494e53000d31a7df (diff) | |
download | Ninja-4ee1cb54d77d902a0223ebde12dff3b3efec8a8d.zip Ninja-4ee1cb54d77d902a0223ebde12dff3b3efec8a8d.tar.gz Ninja-4ee1cb54d77d902a0223ebde12dff3b3efec8a8d.tar.bz2 |
fix order of args to CanonicalizePath
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -43,9 +43,9 @@ void Error(const char* msg, ...); /// Canonicalize a path like "foo/../bar.h" into just "bar.h". /// |slash_bits| has bits set starting from lowest for a backslash that was /// normalized to a forward slash. (only used on Windows) -bool CanonicalizePath(string* path, string* err, unsigned int* slash_bits); -bool CanonicalizePath(char* path, size_t* len, string* err, - unsigned int* slash_bits); +bool CanonicalizePath(string* path, unsigned int* slash_bits, string* err); +bool CanonicalizePath(char* path, size_t* len, unsigned int* slash_bits, + string* err); /// Appends |input| to |*result|, escaping according to the whims of either /// Bash, or Win32's CommandLineToArgvW(). |