summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2014-11-09 07:01:23 (GMT)
committerScott Graham <scottmg@chromium.org>2014-11-09 07:01:23 (GMT)
commit4ee1cb54d77d902a0223ebde12dff3b3efec8a8d (patch)
treebd771c7674ee2fe5ba4c334948c9149ba4ea98b9 /src/util.h
parent559389de082406f44ae752a2494e53000d31a7df (diff)
downloadNinja-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index cb0de09..cbdc1a6 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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().