From 276beb78cea777ff8d81d9f5a4cd107c5a3dc2aa Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Mon, 30 May 2011 11:24:27 +0400 Subject: rewrited initialization procedure (fix gcc-4.6 builds) --- accel-pppd/ppp/ppp_ipcp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'accel-pppd/ppp/ppp_ipcp.c') diff --git a/accel-pppd/ppp/ppp_ipcp.c b/accel-pppd/ppp/ppp_ipcp.c index 72760d57..39627026 100644 --- a/accel-pppd/ppp/ppp_ipcp.c +++ b/accel-pppd/ppp/ppp_ipcp.c @@ -688,8 +688,9 @@ static struct ppp_layer_t ipcp_layer = .free = ipcp_layer_free, }; -static void __init ipcp_init(void) +static void ipcp_init(void) { ppp_register_layer("ipcp", &ipcp_layer); } +DEFINE_INIT(3, ipcp_init); -- cgit v1.2.3