diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-05-15 00:45:14 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-05-15 00:45:14 +0000 |
commit | 519ab1856fb8c69ff2bb15e512bdb8539c90129c (patch) | |
tree | 4692ee907021a755c1a5f3db5fd13e0d9712a2f7 /nuttx/include | |
parent | 383e7a0c97e0e559da8eb2c2a128153ad068d67a (diff) | |
download | px4-firmware-519ab1856fb8c69ff2bb15e512bdb8539c90129c.tar.gz px4-firmware-519ab1856fb8c69ff2bb15e512bdb8539c90129c.tar.bz2 px4-firmware-519ab1856fb8c69ff2bb15e512bdb8539c90129c.zip |
Fix several compiler errors that occur when CONFIG_SCHED_ONEXIT is enabled; on_exit is now used in NxWM::NxConsole to close the window with the NSH session exits
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4738 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/sched.h | 2 | ||||
-rw-r--r-- | nuttx/include/sched.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/include/nuttx/sched.h b/nuttx/include/nuttx/sched.h index 6459ec02a..6d5d0bab7 100644 --- a/nuttx/include/nuttx/sched.h +++ b/nuttx/include/nuttx/sched.h @@ -142,7 +142,7 @@ typedef void (*atexitfunc_t)(void); #endif #ifdef CONFIG_SCHED_ONEXIT -typedef void (*onexitfunc_t)(int, FAR void *) +typedef void (*onexitfunc_t)(int exitcode, FAR void *arg); #endif /* POSIX Message queue */ diff --git a/nuttx/include/sched.h b/nuttx/include/sched.h index aa1103bde..94f6a1216 100644 --- a/nuttx/include/sched.h +++ b/nuttx/include/sched.h @@ -147,8 +147,8 @@ EXTERN int sched_lockcount(void); #ifdef CONFIG_SCHED_INSTRUMENTATION -EXTERN void sched_note_start(FAR _TCB *tcb ); -EXTERN void sched_note_stop(FAR _TCB *tcb ); +EXTERN void sched_note_start(FAR _TCB *tcb); +EXTERN void sched_note_stop(FAR _TCB *tcb); EXTERN void sched_note_switch(FAR _TCB *pFromTcb, FAR _TCB *pToTcb); #else |