add code to set ip addresses when an interface with the static proto is brought up
[project/netifd.git] / netifd.h
index 771bcea..b70b73c 100644 (file)
--- a/netifd.h
+++ b/netifd.h
@@ -19,6 +19,8 @@
 #define DPRINTF(...) do {} while(0)
 #endif
 
 #define DPRINTF(...) do {} while(0)
 #endif
 
+#define __init __attribute__((constructor))
+
 struct device;
 struct interface;
 
 struct device;
 struct interface;