From 90fbba0a403aae30d7cf7eec4035b5edc31c5c0c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 12 Sep 2014 17:35:04 -0600 Subject: [PATCH] Fix types in SYScall stub look-up table --- syscall/syscall_lookup.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/syscall/syscall_lookup.h b/syscall/syscall_lookup.h index 49bd22b8ab..a85a6a0989 100644 --- a/syscall/syscall_lookup.h +++ b/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 ****************************************************************************/ - -