aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/utils/assert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/assert.h b/src/lib/utils/assert.h
index 8dc9f2b99..f80f9b170 100644
--- a/src/lib/utils/assert.h
+++ b/src/lib/utils/assert.h
@@ -15,11 +15,11 @@ namespace Botan {
/**
* Called when an assertion fails
*/
-void BOTAN_DLL assertion_failure(const char* expr_str,
+BOTAN_NORETURN void BOTAN_DLL assertion_failure(const char* expr_str,
const char* assertion_made,
const char* func,
const char* file,
- int line) BOTAN_NORETURN;
+ int line);
/**
* Make an assertion