Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions libs/libc/assert/lib_assert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
****************************************************************************/
Expand Down
4 changes: 2 additions & 2 deletions libs/libc/stdlib/lib_abort.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ void abort(void)
* a conformant version of abort() at this time. This version does not
* signal the calling thread all.
*
* exit() will flush and close all open files and terminate the thread.
* _exit() will close all open files and terminate the thread.
*/

exit(EXIT_FAILURE);
_exit(EXIT_FAILURE);
}