syscall.csv: Correct macro guard of setsockopt

setsockopt only available if both NET and  NET_SOCKOPTS enabled.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2024-05-29 10:14:30 +08:00
committed by archer
parent 047c9fce40
commit 97ec55db46
+1 -1
View File
@@ -154,7 +154,7 @@
"setgid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","gid_t"
"sethostname","unistd.h","","int","FAR const char *","size_t"
"setitimer","sys/time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","int","FAR const struct itimerval *","FAR struct itimerval *"
"setsockopt","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","FAR const void *","socklen_t"
"setsockopt","sys/socket.h","defined(CONFIG_NET) && defined(CONFIG_NET_SOCKOPTS)","int","int","int","int","FAR const void *","socklen_t"
"settimeofday","sys/time.h","","int","FAR const struct timeval *","FAR const struct timezone *"
"setuid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","uid_t"
"shm_open","sys/mman.h","defined(CONFIG_FS_SHMFS)","int","FAR const char *","int","mode_t"
1 _assert assert.h void FAR const char * int FAR const char * FAR void *
154 setgid unistd.h defined(CONFIG_SCHED_USER_IDENTITY) int gid_t
155 sethostname unistd.h int FAR const char * size_t
156 setitimer sys/time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int int FAR const struct itimerval * FAR struct itimerval *
157 setsockopt sys/socket.h defined(CONFIG_NET) defined(CONFIG_NET) && defined(CONFIG_NET_SOCKOPTS) int int int int FAR const void *
158 settimeofday sys/time.h int FAR const struct timeval * FAR const struct timezone *
159 setuid unistd.h defined(CONFIG_SCHED_USER_IDENTITY) int uid_t
160 shm_open sys/mman.h defined(CONFIG_FS_SHMFS) int FAR const char * int mode_t