diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-05-17 11:21:29 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-05-17 11:21:29 -0600 |
commit | 30530b8c9880ff214a088372932511e67e9a012d (patch) | |
tree | 0dd13c88ea8f28cb8b97b714029f5ed57c7be891 /nuttx/syscall | |
parent | db5562382f7957ff1ada27f31f1ea4eacd6ba6f0 (diff) | |
download | px4-nuttx-30530b8c9880ff214a088372932511e67e9a012d.tar.gz px4-nuttx-30530b8c9880ff214a088372932511e67e9a012d.tar.bz2 px4-nuttx-30530b8c9880ff214a088372932511e67e9a012d.zip |
Fix compile errors when the on_exit() interface is enabled in the kernel build. From Ken Pettit
Diffstat (limited to 'nuttx/syscall')
-rw-r--r-- | nuttx/syscall/syscall.csv | 2 | ||||
-rw-r--r-- | nuttx/syscall/syscall_lookup.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/syscall/syscall.csv b/nuttx/syscall/syscall.csv index 0e9c452a1..71d800950 100644 --- a/nuttx/syscall/syscall.csv +++ b/nuttx/syscall/syscall.csv @@ -39,7 +39,7 @@ "mq_timedreceive","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","ssize_t","mqd_t","void*","size_t","int*","const struct timespec*" "mq_timedsend","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","const char*","size_t","int","const struct timespec*" "mq_unlink","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","const char*" -"on_exit","stdlib.h","defined(CONFIG_SCHED_ONEXIT)","int","CODE void (*func)(int, FAR void *)","FAR void *" +"on_exit","stdlib.h","defined(CONFIG_SCHED_ONEXIT)","int","CODE void (*)(int, FAR void *)","FAR void *" "open","fcntl.h","CONFIG_NFILE_DESCRIPTORS > 0","int","const char*","int","..." "opendir","dirent.h","CONFIG_NFILE_DESCRIPTORS > 0","FAR DIR*","FAR const char*" "pipe","unistd.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int [2]|int*" diff --git a/nuttx/syscall/syscall_lookup.h b/nuttx/syscall/syscall_lookup.h index a5e2045bc..d87385f0a 100644 --- a/nuttx/syscall/syscall_lookup.h +++ b/nuttx/syscall/syscall_lookup.h @@ -80,7 +80,7 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert) #endif #ifdef CONFIG_SCHED_ONEXIT - SYSCALL_LOOKUP(on_exit, 2, STUB_onexit) + SYSCALL_LOOKUP(on_exit, 2, STUB_on_exit) #endif #ifdef CONFIG_SCHED_WAITPID |