diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-05-17 14:45:21 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-05-17 14:45:21 -0600 |
commit | e09cc3f6b5cd3f482466e576bd6d87a4de89675b (patch) | |
tree | 3c6ad1779c9bbc7c87f96389b911455d6fbca3f2 | |
parent | 30530b8c9880ff214a088372932511e67e9a012d (diff) | |
download | nuttx-e09cc3f6b5cd3f482466e576bd6d87a4de89675b.tar.gz nuttx-e09cc3f6b5cd3f482466e576bd6d87a4de89675b.tar.bz2 nuttx-e09cc3f6b5cd3f482466e576bd6d87a4de89675b.zip |
More references to SYS_oneixt vs SYS_on_exit noted by Ken Pettit
-rw-r--r-- | nuttx/include/sys/syscall.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/include/sys/syscall.h b/nuttx/include/sys/syscall.h index f29dfadde..e6d458eae 100644 --- a/nuttx/include/sys/syscall.h +++ b/nuttx/include/sys/syscall.h @@ -100,23 +100,23 @@ #ifdef CONFIG_ARCH_HAVE_VFORK # define SYS_vfork __SYS_vfork -# define __SYS_atexit (__SYS_vfork+1) +# define __SYS_atexit (__SYS_vfork+1) #else -# define __SYS_atexit __SYS_vfork +# define __SYS_atexit __SYS_vfork #endif #ifdef CONFIG_SCHED_ATEXIT # define SYS_atexit __SYS_atexit -# define __SYS_onexit (__SYS_atexit+1) +# define __SYS_on_exit (__SYS_atexit+1) #else -# define __SYS_onexit __SYS_atexit +# define __SYS_on_exit __SYS_atexit #endif #ifdef CONFIG_SCHED_ONEXIT -# define SYS_onexit __SYS_onexit -# define __SYS_waitpid (__SYS_onexit+1) +# define SYS_on_exit __SYS_on_exit +# define __SYS_waitpid (__SYS_on_exit+1) #else -# define __SYS_waitpid __SYS_onexit +# define __SYS_waitpid __SYS_on_exit #endif #ifdef CONFIG_SCHED_WAITPID |