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 <Masayuki.Ishikawa@jp.sony.com> Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
579e984d8a
commit
bdfd25757e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user