diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-14 23:15:48 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-14 23:15:48 -0800 |
| commit | a7a2cdb0201a6e85caae621e748cfab03998b6a6 (patch) | |
| tree | 51bd0a51b735fb0a8b19d4f90ef7d7616ae1a3b4 /include | |
| parent | 6f56e693e9c9165d514bb5aeef96d0597d33d8ad (diff) | |
| download | nng-a7a2cdb0201a6e85caae621e748cfab03998b6a6.tar.gz nng-a7a2cdb0201a6e85caae621e748cfab03998b6a6.tar.bz2 nng-a7a2cdb0201a6e85caae621e748cfab03998b6a6.zip | |
init: use nng_err
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/nng.h | 2 |
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 |
