X-Git-Url: https://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/1dedfc90f6eee7cad10f1a1ceb39a7a1c4dbd1b1..398f1484b9cb0d981e668f55e2e42adeaf8be588:/util/error_util.h diff --git a/util/error_util.h b/util/error_util.h index bb158220..17c8727d 100644 --- a/util/error_util.h +++ b/util/error_util.h @@ -23,14 +23,16 @@ #include +#include "function-attributes.h" + /* There's no point in continuing when we've detected that we've done * something wrong internally (as opposed to the user passing in a * bogus value). * * Note that PRINTF_ATTRIBUTE comes from talloc.h */ -int -_internal_error (const char *format, ...) PRINTF_ATTRIBUTE (1, 2); +void +_internal_error (const char *format, ...) PRINTF_ATTRIBUTE (1, 2) NORETURN_ATTRIBUTE; /* There's no point in continuing when we've detected that we've done * something wrong internally (as opposed to the user passing in a