X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=device.c;h=ef706853e7806771cff66274a35433457f0e7ab7;hp=31fc4673c9ce2867f9e026bf358fd2995d10a0b7;hb=4ea88db58ca2c7d488996003b4a51cc3f3cf7808;hpb=8ac814e3d02fd3c8be2798814c085dc2c65c5c49 diff --git a/device.c b/device.c index 31fc467..ef70685 100644 --- a/device.c +++ b/device.c @@ -3,14 +3,12 @@ #include #include -#include - #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); }