summaryrefslogtreecommitdiffhomepage
path: root/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/device.c b/device.c
index 31fc467..ef70685 100644
--- a/device.c
+++ b/device.c
@@ -3,14 +3,12 @@
#include <stdio.h>
#include <assert.h>
-#include <libubox/uapi.h>
-
#include "netifd.h"
#include "system.h"
static struct avl_tree devices;
-static void API_CTOR dev_init(void)
+static void __init dev_init(void)
{
avl_init(&devices, avl_strcmp, false, NULL);
}