mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 14:41:29 +08:00
libc/lib_assert.c: Remove the re-definition of abort()
This should now be irrelevant, as abort() is forwarded to _exit() instead.
This commit is contained in:
@@ -27,16 +27,6 @@
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* If assert() is called from kernel, must not call user API abort */
|
||||
|
||||
#ifdef __KERNEL__
|
||||
# define abort PANIC
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user