From e888bb3a55e974475a87fee0371f4405ddab696e Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 6 Apr 2011 15:04:57 +0000 Subject: Integrate syscall with existing svcall logic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3472 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/syscall/stub_lookup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nuttx/syscall/stub_lookup.c') 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" }; -- cgit v1.2.3