From 8ff8fa5077164f2ec9dd2f02b7f9f5b66f225db6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 14 Jan 2025 23:12:16 -0800 Subject: aio: more nng_err updates --- include/nng/nng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/nng/nng.h b/include/nng/nng.h index 908fbb23..7ad814c4 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -563,7 +563,7 @@ NNG_DECL void nng_strfree(char *); // when a submitted operation completes (or is canceled or fails) the // callback will be executed, generally in a different thread, with no // locks held. -NNG_DECL int nng_aio_alloc(nng_aio **, void (*)(void *), void *); +NNG_DECL nng_err nng_aio_alloc(nng_aio **, void (*)(void *), void *); // nng_aio_free frees the AIO and any associated resources. // It *must not* be in use at the time it is freed. -- cgit v1.2.3-70-g09d2