From a7a2cdb0201a6e85caae621e748cfab03998b6a6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 14 Jan 2025 23:15:48 -0800 Subject: init: use nng_err --- 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 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 -- cgit v1.2.3-70-g09d2