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/sh | |
parent | 032e040edbb467aa1137f8f7b3b9442579589ae1 (diff) | |
download | nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.tar.gz nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.tar.bz2 nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.zip |
_exit() should not call atexit() or on_exit() functions; Rename task_deletecurrent() to task_exit()
Diffstat (limited to 'nuttx/arch/sh')
-rw-r--r-- | nuttx/arch/sh/src/common/up_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/sh/src/common/up_exit.c b/nuttx/arch/sh/src/common/up_exit.c index 31c8e0404..e454d1b64 100644 --- a/nuttx/arch/sh/src/common/up_exit.c +++ b/nuttx/arch/sh/src/common/up_exit.c @@ -154,7 +154,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. |