aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-14 23:12:16 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-14 23:12:16 -0800
commit8ff8fa5077164f2ec9dd2f02b7f9f5b66f225db6 (patch)
tree82a51f2e7fea44140b31917e9962e30aab5a6116 /include
parent97058f23b30e703df8f8d1a11512000ca6d199fc (diff)
downloadnng-8ff8fa5077164f2ec9dd2f02b7f9f5b66f225db6.tar.gz
nng-8ff8fa5077164f2ec9dd2f02b7f9f5b66f225db6.tar.bz2
nng-8ff8fa5077164f2ec9dd2f02b7f9f5b66f225db6.zip
aio: more nng_err updates
Diffstat (limited to 'include')
-rw-r--r--include/nng/nng.h2
1 files changed, 1 insertions, 1 deletions
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.