Drop the use of exceptions for fatal error handling.
[cumulus.git] / util.h
diff --git a/util.h b/util.h
index 5922a42..38596b5 100644 (file)
--- a/util.h
+++ b/util.h
@@ -35,6 +35,6 @@ std::string encode_int(long long n, int base=10);
 long long parse_int(const std::string &s);
 void cloexec(int fd);
 
-void fatal(std::string msg);
+void fatal(std::string msg) __attribute__((noreturn));
 
 #endif // _LBS_TARSTORE_H