summaryrefslogtreecommitdiff
path: root/nuttx/syscall/stub_lookup.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-06 15:04:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-06 15:04:57 +0000
commite888bb3a55e974475a87fee0371f4405ddab696e (patch)
tree2c614deb71dfee72cfb36f54e47cc7c9475ef9c7 /nuttx/syscall/stub_lookup.c
parent767a6400de3f6e709a6a453ea3c90422a316a598 (diff)
downloadpx4-nuttx-e888bb3a55e974475a87fee0371f4405ddab696e.tar.gz
px4-nuttx-e888bb3a55e974475a87fee0371f4405ddab696e.tar.bz2
px4-nuttx-e888bb3a55e974475a87fee0371f4405ddab696e.zip
Integrate syscall with existing svcall logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3472 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/syscall/stub_lookup.c')
-rw-r--r--nuttx/syscall/stub_lookup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/syscall/stub_lookup.c b/nuttx/syscall/stub_lookup.c
index 108019b34..5ed67fd0a 100644
--- a/nuttx/syscall/stub_lookup.c
+++ b/nuttx/syscall/stub_lookup.c
@@ -239,12 +239,12 @@ extern uintptr_t STUB_socket(uintptr_t parm1, uintptr_t parm2, uintptr_t parm3);
* these tables describes how to call the stub dispatch function.
*/
-const union syscall_stubfunc_u *g_stublookup[SYS_nsyscalls] =
+const union syscall_stubfunc_u g_stublookup[SYS_nsyscalls] =
{
# undef STUB_LOOKUP1
-# define STUB_LOOKUP1(n,p) (union syscall_stubfunc_u *)p
+# define STUB_LOOKUP1(n,p) (union syscall_stubfunc_u)p
# undef STUB_LOOKUP
-# define STUB_LOOKUP(n,p) , (union syscall_stubfunc_u *)p
+# define STUB_LOOKUP(n,p) , (union syscall_stubfunc_u)p
# include "stub_lookup.h"
};