From bdfd25757e44a60a5d6971ca944cd4542bef6a0e Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Thu, 26 Jul 2018 13:37:44 +0000 Subject: [PATCH] Merged in masayuki2009/nuttx.nuttx/remove_sys_nnetsocket (pull request #696) include/sys: Remove unused SYS_nnetsocket from syscall.h Because SYS_nnetsocket is not implemented so far, it should be removed so that SYS_prctl can work correctly. Signed-off-by: Masayuki Ishikawa Approved-by: GregoryN --- include/sys/syscall.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/sys/syscall.h b/include/sys/syscall.h index 7ede16cb73..88d0473f0d 100644 --- a/include/sys/syscall.h +++ b/include/sys/syscall.h @@ -535,17 +535,16 @@ # define SYS_sendto (__SYS_network + 10) # define SYS_setsockopt (__SYS_network + 11) # define SYS_socket (__SYS_network + 12) -# define SYS_nnetsocket (__SYS_network + 13) #else -# define SYS_nnetsocket __SYS_network +# define SYS_socket __SYS_network #endif /* The following is defined only if CONFIG_TASK_NAME_SIZE > 0 */ #if CONFIG_TASK_NAME_SIZE > 0 -# define SYS_prctl (SYS_nnetsocket + 1) +# define SYS_prctl (SYS_socket + 1) #else -# define SYS_prctl SYS_nnetsocket +# define SYS_prctl SYS_socket #endif /* The following is defined only if entropy pool random number generator