From 22d991fda77578dd03c8d477f8427631e6383cee Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 7 Aug 2017 16:12:41 -0700 Subject: Subsystem initialize is idempotent; simplify cleanup. --- src/core/transport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/transport.h') 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 -- cgit v1.2.3-70-g09d2