summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index f582847..04f0a90 100644
--- a/src/util.h
+++ b/src/util.h
@@ -40,6 +40,8 @@ void Error(const char* msg, ...);
/// Canonicalize a path like "foo/../bar.h" into just "bar.h".
bool CanonicalizePath(string* path, string* err);
+bool CanonicalizePath(char* path, int* len, string* err);
+
/// Create a directory (mode 0777 on Unix).
/// Portability abstraction.
int MakeDir(const string& path);