diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-12 17:35:04 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-12 17:35:04 -0600 |
commit | b8516768b7f4cb9f815e2213fd1952f91af744eb (patch) | |
tree | c5e0ca10144de20e11ad1fdda38e4f536100fa9b | |
parent | c5706e59a0621fbf9256c0a47a70b08359352aa7 (diff) | |
download | nuttx-b8516768b7f4cb9f815e2213fd1952f91af744eb.tar.gz nuttx-b8516768b7f4cb9f815e2213fd1952f91af744eb.tar.bz2 nuttx-b8516768b7f4cb9f815e2213fd1952f91af744eb.zip |
Fix types in SYScall stub look-up table
-rw-r--r-- | nuttx/syscall/syscall_lookup.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/nuttx/syscall/syscall_lookup.h b/nuttx/syscall/syscall_lookup.h index 49bd22b8a..a85a6a098 100644 --- a/nuttx/syscall/syscall_lookup.h +++ b/nuttx/syscall/syscall_lookup.h @@ -77,7 +77,7 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert) /* The following can be individually enabled */ #ifdef CONFIG_ARCH_HAVE_VFORK - SYSCALL_LOOKUP(vfork, 0, SYS_vfork) + SYSCALL_LOOKUP(vfork, 0, STUB_vfork) #endif #ifdef CONFIG_SCHED_ATEXIT @@ -102,12 +102,12 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert) #if !defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) # ifdef CONFIG_BINFMT_EXEPATH - SYSCALL_LOOKUP(posix_spawnp, 6, SYS_posix_spawnp) + SYSCALL_LOOKUP(posix_spawnp, 6, STUB_posix_spawnp) # else - SYSCALL_LOOKUP(posix_spawn, 6, SYS_posix_spawn) + SYSCALL_LOOKUP(posix_spawn, 6, STUB_posix_spawn) # endif - SYSCALL_LOOKUP(execv, 2, SYS_execv) - SYSCALL_LOOKUP(execl, 6, SYS_execl) + SYSCALL_LOOKUP(execv, 2, STUB_execv) + SYSCALL_LOOKUP(execl, 6, STUB_execl) #endif /* The following are only defined is signals are supported in the NuttX @@ -291,5 +291,3 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert) /**************************************************************************** * Public Functions ****************************************************************************/ - - |