summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/stat_accm.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/radius/stat_accm.c')
-rw-r--r--accel-pppd/radius/stat_accm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/radius/stat_accm.c b/accel-pppd/radius/stat_accm.c
index 8d4ad3d..53c23cb 100644
--- a/accel-pppd/radius/stat_accm.c
+++ b/accel-pppd/radius/stat_accm.c
@@ -90,8 +90,9 @@ unsigned long stat_accm_get_avg(struct stat_accm_t *s)
return val;
}
-static void __init init(void)
+static void init(void)
{
item_pool = mempool_create(sizeof(struct item_t));
}
+DEFINE_INIT(101, init);