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/log.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/log.c')
-rw-r--r-- | accel-pppd/log.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/log.c b/accel-pppd/log.c index fc50d277..38f4bcea 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); |