From b4fdf7a04fc1018f1114fb8ee6f16009752cd16f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 14 Jan 2025 23:18:33 -0800 Subject: socketpair: use nng_err --- src/core/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/platform.h') 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 -- cgit v1.2.3-70-g09d2