From 03f812ccb2876aacd10e589f996b5ec9e0133d5b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 27 Apr 2025 22:02:04 -0700 Subject: More nng_err -- this time for dialer and listener allocations. --- src/core/platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/platform.h') diff --git a/src/core/platform.h b/src/core/platform.h index 3b6f4db5..a13ae9f2 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -340,8 +340,8 @@ typedef struct nni_ipc_listener nni_ipc_listener; // IPC is so different from platform to platform. The following should // be implemented. If IPC isn't supported, all of these functions should // be stubs that just return NNG_ENOTSUP. -extern int nni_ipc_dialer_alloc(nng_stream_dialer **, const nng_url *); -extern int nni_ipc_listener_alloc(nng_stream_listener **, const nng_url *); +extern nng_err nni_ipc_dialer_alloc(nng_stream_dialer **, const nng_url *); +extern nng_err nni_ipc_listener_alloc(nng_stream_listener **, const nng_url *); // // UDP support. UDP is not connection oriented, and only has the notion -- cgit v1.2.3-70-g09d2