Fix error: proxies/PROXY_socketpair.c:9:55: error: argument 4 of type 'int *' declared as a pointer [-Werror=array-parameter=]
9 | int socketpair(int parm1, int parm2, int parm3, int * parm4) | ~~~~~~^~~~~ In file included from proxies/PROXY_socketpair.c:4: /github/workspace/sources/nuttx/include/sys/socket.h:373:56: note: previously declared as an array 'int[2]' 373 | int socketpair(int domain, int type, int protocol, int sv[2]); | Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
ab12bea1ae
commit
ee82f7b5ca
@ -159,7 +159,7 @@
|
||||
"sigtimedwait","signal.h","","int","FAR const sigset_t *","FAR struct siginfo *","FAR const struct timespec *"
|
||||
"sigwaitinfo","signal.h","","int","FAR const sigset_t *","FAR struct siginfo *"
|
||||
"socket","sys/socket.h","defined(CONFIG_NET)","int","int","int","int"
|
||||
"socketpair","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","int *"
|
||||
"socketpair","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","int [2]|FAR int *"
|
||||
"stat","sys/stat.h","","int","FAR const char *","FAR struct stat *"
|
||||
"statfs","sys/statfs.h","","int","FAR const char *","FAR struct statfs *"
|
||||
"symlink","unistd.h","defined(CONFIG_PSEUDOFS_SOFTLINKS)","int","FAR const char *","FAR const char *"
|
||||
|
Can't render this file because it has a wrong number of fields in line 2.
|
Loading…
Reference in New Issue
Block a user