[rtems commit] alarm.c: Use _Assert() not assert()

Joel Sherrill joel at rtems.org
Tue Dec 10 15:01:25 UTC 2013


Module:    rtems
Branch:    master
Commit:    0f01de2b96c61a4b386c12056a0a1f8cc567ed9c
Changeset: http://git.rtems.org/rtems/commit/?id=0f01de2b96c61a4b386c12056a0a1f8cc567ed9c

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Dec 10 09:08:16 2013 -0600

alarm.c: Use _Assert() not assert()

---

 cpukit/posix/src/alarm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/posix/src/alarm.c b/cpukit/posix/src/alarm.c
index 8def4a0..ffd6eee 100644
--- a/cpukit/posix/src/alarm.c
+++ b/cpukit/posix/src/alarm.c
@@ -51,7 +51,7 @@ static void _POSIX_signals_Alarm_TSR(
      *  There is no reason to think this might fail but we should be
      *  cautious.
      */
-    assert(status == 0);
+    _Assert(status == 0);
   #endif
 }
 




More information about the vc mailing list