aboutsummaryrefslogtreecommitdiff
path: root/src/core/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/platform.h')
-rw-r--r--src/core/platform.h2
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