From 236781a2c13feb96a6dd56f762b2df6fec1dfee5 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 22 Dec 2016 23:40:01 -0800 Subject: More C99-ification. Also end the _t thing for types (ISO C rules). --- src/core/init.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/core/init.c') diff --git a/src/core/init.c b/src/core/init.c index debfbbbe..500a0b54 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -1,11 +1,11 @@ -/* - * Copyright 2016 Garrett D'Amore - * - * This software is supplied under the terms of the MIT License, a - * copy of which should be located in the distribution where this - * file was obtained (LICENSE.txt). A copy of the license may also be - * found online at https://opensource.org/licenses/MIT. - */ +// +// Copyright 2016 Garrett D'Amore +// +// This software is supplied under the terms of the MIT License, a +// copy of which should be located in the distribution where this +// file was obtained (LICENSE.txt). A copy of the license may also be +// found online at https://opensource.org/licenses/MIT. +// #include "core/nng_impl.h" #include @@ -14,7 +14,7 @@ static int init_helper(void) { - /* This would be where we would initialize transports, etc. */ + nni_transport_init(); return (0); } @@ -29,5 +29,6 @@ nni_init(void) void nni_fini(void) { + nni_transport_fini(); nni_plat_fini(); } -- cgit v1.2.3-70-g09d2