summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/score/include/rtems/score/assert.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/assert.h b/cpukit/score/include/rtems/score/assert.h
index be04d87da8..00ded6b298 100644
--- a/cpukit/score/include/rtems/score/assert.h
+++ b/cpukit/score/include/rtems/score/assert.h
@@ -67,6 +67,11 @@ extern "C" {
bool _Debug_Is_owner_of_allocator( void );
#endif
+/**
+ * @brief Asserts that this point is not reached during run-time.
+ */
+#define _Assert_Not_reached() _Assert( 0 )
+
#ifdef __cplusplus
}
#endif /* __cplusplus */