From f31311aa67eb7b4f1888614b049b2ecf4ff1da3e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 18 Mar 2014 13:22:54 +0100 Subject: score: Add _Assert_Not_reached() --- cpukit/score/include/rtems/score/assert.h | 5 +++++ 1 file changed, 5 insertions(+) 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 */ -- cgit v1.2.3