aboutsummaryrefslogtreecommitdiff
path: root/src/core/transport.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-07 16:12:41 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-07 16:12:41 -0700
commit22d991fda77578dd03c8d477f8427631e6383cee (patch)
treec81eb35a13fbeb1dab8f8e6ca62dc8ccf42636e0 /src/core/transport.h
parentc5354ea49184a359df8d477e844b1c52aeb234d5 (diff)
downloadnng-22d991fda77578dd03c8d477f8427631e6383cee.tar.gz
nng-22d991fda77578dd03c8d477f8427631e6383cee.tar.bz2
nng-22d991fda77578dd03c8d477f8427631e6383cee.zip
Subsystem initialize is idempotent; simplify cleanup.
Diffstat (limited to 'src/core/transport.h')
-rw-r--r--src/core/transport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport.h b/src/core/transport.h
index 72f4cc61..a739e7d2 100644
--- a/src/core/transport.h
+++ b/src/core/transport.h
@@ -118,7 +118,7 @@ struct nni_tran_pipe {
// These APIs are used by the framework internally, and not for use by
// transport implementations.
extern nni_tran *nni_tran_find(const char *);
-extern void nni_tran_sys_init(void);
+extern int nni_tran_sys_init(void);
extern void nni_tran_sys_fini(void);
#endif // CORE_TRANSPORT_H