aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-14 23:15:48 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-14 23:15:48 -0800
commita7a2cdb0201a6e85caae621e748cfab03998b6a6 (patch)
tree51bd0a51b735fb0a8b19d4f90ef7d7616ae1a3b4 /include
parent6f56e693e9c9165d514bb5aeef96d0597d33d8ad (diff)
downloadnng-a7a2cdb0201a6e85caae621e748cfab03998b6a6.tar.gz
nng-a7a2cdb0201a6e85caae621e748cfab03998b6a6.tar.bz2
nng-a7a2cdb0201a6e85caae621e748cfab03998b6a6.zip
init: use nng_err
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 7ad814c4..bec1dd82 100644
--- a/include/nng/nng.h
+++ b/include/nng/nng.h
@@ -1292,7 +1292,7 @@ typedef struct {
// only the first call can contain a non-NULL params. If already
// initialized with non-NULL params, will return NNG_EALREADY.
// Applications should *not* call a matching nng_fini() in that case.
-NNG_DECL int nng_init(nng_init_params *parms);
+NNG_DECL nng_err nng_init(nng_init_params *parms);
// nng_fini is used to terminate the library, freeing certain global resources.
// Each call to nng_fini is paired to a call to nng_init. The last such