summaryrefslogtreecommitdiff
path: root/nuttx/syscall/syscall_lookup.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-12 17:35:04 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-12 17:35:04 -0600
commitb8516768b7f4cb9f815e2213fd1952f91af744eb (patch)
treec5e0ca10144de20e11ad1fdda38e4f536100fa9b /nuttx/syscall/syscall_lookup.h
parentc5706e59a0621fbf9256c0a47a70b08359352aa7 (diff)
downloadnuttx-b8516768b7f4cb9f815e2213fd1952f91af744eb.tar.gz
nuttx-b8516768b7f4cb9f815e2213fd1952f91af744eb.tar.bz2
nuttx-b8516768b7f4cb9f815e2213fd1952f91af744eb.zip
Fix types in SYScall stub look-up table
Diffstat (limited to 'nuttx/syscall/syscall_lookup.h')
-rw-r--r--nuttx/syscall/syscall_lookup.h12
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
****************************************************************************/
-
-