diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-04-18 16:15:20 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-04-18 16:15:20 -0600 |
commit | 2d32b627f6f91e9f70ea20a481adf91dd8d27e99 (patch) | |
tree | 6ce126f0017af4d8cf269b433ca7087b655f7d11 /nuttx/arch/8051/src/up_exit.c | |
parent | 032e040edbb467aa1137f8f7b3b9442579589ae1 (diff) | |
download | px4-nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.tar.gz px4-nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.tar.bz2 px4-nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.zip |
_exit() should not call atexit() or on_exit() functions; Rename task_deletecurrent() to task_exit()
Diffstat (limited to 'nuttx/arch/8051/src/up_exit.c')
-rw-r--r-- | nuttx/arch/8051/src/up_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/8051/src/up_exit.c b/nuttx/arch/8051/src/up_exit.c index c96467bf9..31d8c99ab 100644 --- a/nuttx/arch/8051/src/up_exit.c +++ b/nuttx/arch/8051/src/up_exit.c @@ -89,7 +89,7 @@ void _exit(int status) /* Destroy the task at the head of the ready to run list. */ - (void)task_deletecurrent(); + (void)task_exit(); /* Now, perform the context switch to the new ready-to-run task at the * head of the list. |