diff options
author | Kozlov Dmitry <dima@server> | 2011-05-30 11:24:27 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2011-05-30 11:24:27 +0400 |
commit | 276beb78cea777ff8d81d9f5a4cd107c5a3dc2aa (patch) | |
tree | f50c4e781ba13c3ee59382a4466cfafa31ef464a /accel-pppd/ppp/lcp_opt_magic.c | |
parent | 01afc34e830f2adf94c191a3c4f2761888dae53b (diff) | |
download | accel-ppp-276beb78cea777ff8d81d9f5a4cd107c5a3dc2aa.tar.gz accel-ppp-276beb78cea777ff8d81d9f5a4cd107c5a3dc2aa.zip |
rewrited initialization procedure (fix gcc-4.6 builds)
Diffstat (limited to 'accel-pppd/ppp/lcp_opt_magic.c')
-rw-r--r-- | accel-pppd/ppp/lcp_opt_magic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/ppp/lcp_opt_magic.c b/accel-pppd/ppp/lcp_opt_magic.c index 6c0deb5..3e694d2 100644 --- a/accel-pppd/ppp/lcp_opt_magic.c +++ b/accel-pppd/ppp/lcp_opt_magic.c @@ -99,7 +99,9 @@ static void magic_print(void (*print)(const char *fmt,...),struct lcp_option_t * print("<magic %04x>", magic_opt->magic); } -static void __init magic_opt_init() +static void magic_opt_init() { lcp_option_register(&magic_opt_hnd); } + +DEFINE_INIT(4, magic_opt_init); |