diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-01-06 19:33:34 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-01-06 19:45:01 -0800 |
| commit | 5e41f10763f7de379b52f8c1a421a1b0aad61041 (patch) | |
| tree | d711c6e4128fd967960b7a424cd191abf26de423 /src/core | |
| parent | f4908daaaad443834d9f270e7ddc5e2e23d0f7a5 (diff) | |
| download | nng-5e41f10763f7de379b52f8c1a421a1b0aad61041.tar.gz nng-5e41f10763f7de379b52f8c1a421a1b0aad61041.tar.bz2 nng-5e41f10763f7de379b52f8c1a421a1b0aad61041.zip | |
Fix warning from inconsistent socket_pair prototype.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/platform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/platform.h b/src/core/platform.h index 0b5ec634..2e6c7eb8 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -1,5 +1,5 @@ // -// Copyright 2021 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2018 Devolutions <info@devolutions.net> // @@ -445,7 +445,7 @@ extern int nni_plat_udp_sockname(nni_plat_udp *, nni_sockaddr *); // in APIs to transport file descriptors, or across a fork/exec boundary (so // that child processes may use these with socket to inherit a socket that is // connected to the parent.) -extern int nni_socket_pair(int *); +extern int nni_socket_pair(int [2]); // // File/Store Support |
