aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2016-01-08 23:22:57 +0100
committerDaniel Neus <[email protected]>2016-01-08 23:22:57 +0100
commit52afcc69d97621e5a3880798d7814a474e71c03b (patch)
treeb7ad8d7cf4aab9a2b5f25f8badb21d7cebd1864f
parent145745fb428723ad23e5fd4e810fe3d8065c9fb6 (diff)
move noreturn before the function declaration
-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