From f8d3032732b3ee6ab48cbc4aee096d8f3af0f60f Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Tue, 21 Feb 2023 16:45:14 +0200 Subject: [PATCH] libc/lib_assert.c: Remove the re-definition of abort() This should now be irrelevant, as abort() is forwarded to _exit() instead. --- libs/libc/assert/lib_assert.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libs/libc/assert/lib_assert.c b/libs/libc/assert/lib_assert.c index 97bb7517b5..5103c71586 100644 --- a/libs/libc/assert/lib_assert.c +++ b/libs/libc/assert/lib_assert.c @@ -27,16 +27,6 @@ #include #include -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/* If assert() is called from kernel, must not call user API abort */ - -#ifdef __KERNEL__ -# define abort PANIC -#endif - /**************************************************************************** * Public Functions ****************************************************************************/