This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 78ae6350c05e690c2c68b79a956f14aeeddae2d9
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Tue Oct 13 09:59:51 2026 +0800

    arch/ceva: rename _exit to up_exit to match arch interface
    
    The CEVA architecture implemented _exit() instead of up_exit(),
    inconsistent with the NuttX architecture interface declared in
    include/nuttx/arch.h and with all other 17 architectures.  _exit()
    is the POSIX libc name; up_exit() is the arch-layer name.
    
    Rename the function and update its comment header accordingly.
    
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 arch/ceva/src/common/ceva_exit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/ceva/src/common/ceva_exit.c b/arch/ceva/src/common/ceva_exit.c
index e0cb74cb296..709eb6f3038 100644
--- a/arch/ceva/src/common/ceva_exit.c
+++ b/arch/ceva/src/common/ceva_exit.c
@@ -40,7 +40,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Name: _exit
+ * Name: up_exit
  *
  * Description:
  *   This function causes the currently executing task to cease
@@ -50,7 +50,7 @@
  *
  ****************************************************************************/
 
-void _exit(int status)
+void up_exit(int status)
 {
   struct tcb_s *tcb = this_task();
 

Reply via email to