aboutsummaryrefslogtreecommitdiff
path: root/src/sp/transport.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2021-09-06 12:01:26 -0700
committerGarrett D'Amore <garrett@damore.org>2021-09-06 12:01:26 -0700
commit468714a51bbc9fc6acf03479b8825ad25a2ffeb0 (patch)
tree4a6c7b186b29b6ec1c576530e3b6854d58c305c2 /src/sp/transport.h
parentd137bf383892c53265593d9a5ac17e64444091c9 (diff)
downloadnng-468714a51bbc9fc6acf03479b8825ad25a2ffeb0.tar.gz
nng-468714a51bbc9fc6acf03479b8825ad25a2ffeb0.tar.bz2
nng-468714a51bbc9fc6acf03479b8825ad25a2ffeb0.zip
SP initialization cannot fail.
Diffstat (limited to 'src/sp/transport.h')
-rw-r--r--src/sp/transport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/transport.h b/src/sp/transport.h
index 08f169bc..76d8d36a 100644
--- a/src/sp/transport.h
+++ b/src/sp/transport.h
@@ -169,7 +169,7 @@ struct nni_sp_tran {
// These APIs are used by the framework internally, and not for use by
// transport implementations.
extern nni_sp_tran *nni_sp_tran_find(nni_url *);
-extern int nni_sp_tran_sys_init(void);
+extern void nni_sp_tran_sys_init(void);
extern void nni_sp_tran_sys_fini(void);
extern void nni_sp_tran_register(nni_sp_tran *);