diff --git a/syscall/syscall.csv b/syscall/syscall.csv index 6cde8e6996f..34dee8ca36f 100644 --- a/syscall/syscall.csv +++ b/syscall/syscall.csv @@ -28,7 +28,7 @@ "getenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char*","FAR const char*" "getpid","unistd.h","","pid_t" "getsockopt","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","int","int","FAR void*","FAR socklen_t*" -"insmod","nuttx/module.h",defined(CONFIG_MODULE),"int","FAR const char *","FAR const struct symtab_s *","int" +"insmod","nuttx/module.h",defined(CONFIG_MODULE),"int","FAR const char *","FAR const char *" "ioctl","sys/ioctl.h","!defined(CONFIG_LIBC_IOCTL_VARIADIC) && (CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0)","int","int","int","unsigned long" "kill","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","pid_t","int" "listen","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","int" diff --git a/syscall/syscall_lookup.h b/syscall/syscall_lookup.h index d97852872c8..6ad246ba5ba 100644 --- a/syscall/syscall_lookup.h +++ b/syscall/syscall_lookup.h @@ -111,7 +111,7 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert) */ #ifdef CONFIG_MODULE - SYSCALL_LOOKUP(insmod, 3, STUB_insmod) + SYSCALL_LOOKUP(insmod, 2, STUB_insmod) SYSCALL_LOOKUP(rmmod, 1, STUB_rmmod) #endif diff --git a/syscall/syscall_stublookup.c b/syscall/syscall_stublookup.c index 6a49cd227c5..ed151d246bd 100644 --- a/syscall/syscall_stublookup.c +++ b/syscall/syscall_stublookup.c @@ -112,8 +112,7 @@ uintptr_t STUB_waitid(int nbr, uintptr_t parm1, uintptr_t parm2, */ #ifdef CONFIG_MODULE -uintptr_t STUB_insmod(int nbr, uintptr_t parm1, uintptr_t parm2, - uintptr_t parm3); +uintptr_t STUB_insmod(int nbr, uintptr_t parm1, uintptr_t parm2); uintptr_t STUB_rmmod(int nbr, uintptr_t parm1); #endif