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/lcp_opt_accomp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'accel-pppd/ppp/lcp_opt_accomp.c') diff --git a/accel-pppd/ppp/lcp_opt_accomp.c b/accel-pppd/ppp/lcp_opt_accomp.c index 241b0e0..33347d8 100644 --- a/accel-pppd/ppp/lcp_opt_accomp.c +++ b/accel-pppd/ppp/lcp_opt_accomp.c @@ -99,8 +99,9 @@ static void accomp_print(void (*print)(const char *fmt,...),struct lcp_option_t print(""); } -static void __init accomp_opt_init() +static void accomp_opt_init() { lcp_option_register(&accomp_opt_hnd); } +DEFINE_INIT(4, accomp_opt_init); -- cgit v1.2.3