diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-14 23:18:33 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-14 23:18:33 -0800 |
| commit | b4fdf7a04fc1018f1114fb8ee6f16009752cd16f (patch) | |
| tree | c076e06ebda71da190b9031912bd3bb428bd8fed /src/core/platform.h | |
| parent | a7a2cdb0201a6e85caae621e748cfab03998b6a6 (diff) | |
| download | nng-b4fdf7a04fc1018f1114fb8ee6f16009752cd16f.tar.gz nng-b4fdf7a04fc1018f1114fb8ee6f16009752cd16f.tar.bz2 nng-b4fdf7a04fc1018f1114fb8ee6f16009752cd16f.zip | |
socketpair: use nng_err
Diffstat (limited to 'src/core/platform.h')
| -rw-r--r-- | src/core/platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/platform.h b/src/core/platform.h index ca39ac98..bdb8beb4 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -417,7 +417,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[2]); +extern nng_err nni_socket_pair(int[2]); // // File/Store Support |
