summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-04-15 19:26:45 (GMT)
committerEvan Martin <martine@danga.com>2011-04-15 19:26:45 (GMT)
commite5891f73fea0879851312fbaec8f32490fa4638c (patch)
tree73345c0ee79d2d92c0c2f718557d7785e8c00905 /src/util.h
parentece2d63323bde9fd89956193167e09708802d73c (diff)
parent9d5fd61c00b34511fd16bce1a3233743c7e4448f (diff)
downloadNinja-e5891f73fea0879851312fbaec8f32490fa4638c.zip
Ninja-e5891f73fea0879851312fbaec8f32490fa4638c.tar.gz
Ninja-e5891f73fea0879851312fbaec8f32490fa4638c.tar.bz2
Merge branch 'master' of github.com:martine/ninja
Conflicts: src/util.cc src/util.h
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index efbb88b..dc3e40f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -21,6 +21,9 @@
// Log a fatal message, dump a backtrace, and exit.
void Fatal(const char* msg, ...);
+// Log an error message.
+void Error(const char* msg, ...);
+
// Canonicalize a path like "foo/../bar.h" into just "bar.h".
bool CanonicalizePath(std::string* path, std::string* err);