diff options
Diffstat (limited to 'accel-pppd/logs/log_tcp.c')
-rw-r--r-- | accel-pppd/logs/log_tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/logs/log_tcp.c b/accel-pppd/logs/log_tcp.c index 306c450..ceaeb1c 100644 --- a/accel-pppd/logs/log_tcp.c +++ b/accel-pppd/logs/log_tcp.c @@ -301,7 +301,7 @@ static struct triton_context_t tcp_ctx ={ .before_switch = log_switch, }; -static void __init init(void) +static void init(void) { struct conf_sect_t *s = conf_get_section("log"); struct conf_option_t *opt; @@ -321,3 +321,4 @@ static void __init init(void) triton_context_wakeup(&tcp_ctx); } +DEFINE_INIT(1, init); |