X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Ferror_util.h;h=17c8727d13b2a743dd3afd9642026f3a73b2b1ea;hp=bb158220a3d8d4c8cc09e1f7e9af731135f1f160;hb=2f40ca28a4d63df941525801735d05b5b2b86f91;hpb=1dedfc90f6eee7cad10f1a1ceb39a7a1c4dbd1b1 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