From 41b50c286aaa99b848c4b21685f81ee2511f176a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 2 May 2013 06:28:59 -0600 Subject: Changes to remove some warning sduring compilation for ZKit-arm-1769 Board. --- nuttx/include/assert.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'nuttx/include/assert.h') diff --git a/nuttx/include/assert.h b/nuttx/include/assert.h index 29eb7a4b3..2159ea868 100644 --- a/nuttx/include/assert.h +++ b/nuttx/include/assert.h @@ -47,14 +47,13 @@ * Pre-processor Definitions ****************************************************************************/ -/* Macro Name: ASSERT, ASSERTCODE, et al. */ - -#undef ASSERT - Assert if the condition is not true -#undef ASSERTCODE - Assert with an error code if the condition is not true -#undef VERIFY - Assert if a function returns a negative value -#undef DEBUGASSERT - Like ASSERT, but only if CONFIG_DEBUG is defined -#undef DEBUGVERIFY - Like VERIFY, but only if CONFIG_DEBUG is defined -#undef PANIC - Unconditional error with code +/* Macro Name: ASSERT, VERIFY, et al. */ + +#undef ASSERT /* Assert if the condition is not true */ +#undef VERIFY /* Assert if a function returns a negative value */ +#undef DEBUGASSERT /* Like ASSERT, but only if CONFIG_DEBUG is defined */ +#undef DEBUGVERIFY /* Like VERIFY, but only if CONFIG_DEBUG is defined */ +#undef PANIC /* Unconditional abort */ #ifdef CONFIG_HAVE_FILENAME -- cgit v1.2.3