summaryrefslogtreecommitdiff
path: root/accel-pppd/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/log.c')
-rw-r--r--accel-pppd/log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/log.c b/accel-pppd/log.c
index fc50d27..38f4bce 100644
--- a/accel-pppd/log.c
+++ b/accel-pppd/log.c
@@ -490,7 +490,7 @@ static void load_config(void)
}
}
-static void __init log_init(void)
+static void log_init(void)
{
struct sigaction sa = {
.sa_handler = sighup,
@@ -509,3 +509,4 @@ static void __init log_init(void)
sigaction(SIGHUP, &sa, NULL);
}
+DEFINE_INIT(0, log_init);