diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-05-02 06:28:59 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-05-02 06:28:59 -0600 |
commit | 41b50c286aaa99b848c4b21685f81ee2511f176a (patch) | |
tree | 8f857d30919cdec50e00ebb7a141717617474303 /nuttx/include/assert.h | |
parent | 86e3c09296ce9453f1feb380c976dce52aead0e6 (diff) | |
download | px4-nuttx-41b50c286aaa99b848c4b21685f81ee2511f176a.tar.gz px4-nuttx-41b50c286aaa99b848c4b21685f81ee2511f176a.tar.bz2 px4-nuttx-41b50c286aaa99b848c4b21685f81ee2511f176a.zip |
Changes to remove some warning sduring compilation for ZKit-arm-1769 Board.
Diffstat (limited to 'nuttx/include/assert.h')
-rw-r--r-- | nuttx/include/assert.h | 15 |
1 files changed, 7 insertions, 8 deletions
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 |