summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/lcp_opt_magic.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ppp/lcp_opt_magic.c')
-rw-r--r--accel-pppd/ppp/lcp_opt_magic.c4
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 6c0deb54..3e694d20 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);