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/supplemental | |
| 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/supplemental')
| -rw-r--r-- | src/supplemental/util/platform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/supplemental/util/platform.c b/src/supplemental/util/platform.c index 99daaef6..0f9e7a1a 100644 --- a/src/supplemental/util/platform.c +++ b/src/supplemental/util/platform.c @@ -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> // // This software is supplied under the terms of the MIT License, a @@ -166,7 +166,7 @@ nng_random(void) } int -nng_socket_pair(int *fds) +nng_socket_pair(int fds[2]) { return (nni_socket_pair(fds)); -}
\ No newline at end of file +} |
