X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=netifd.h;h=b70b73c435b799abecb10df4de6189b701f3237a;hp=160ea3bccd7636c8a0de49466c5c33333d39c614;hb=3e22e5b6bddce74aa7b3ca92ff0f089ac9b59ccb;hpb=3a9fe0cb9fa812bdecdf0a6f2d5e81877fe8cd1b;ds=sidebyside diff --git a/netifd.h b/netifd.h index 160ea3b..b70b73c 100644 --- a/netifd.h +++ b/netifd.h @@ -19,12 +19,15 @@ #define DPRINTF(...) do {} while(0) #endif +#define __init __attribute__((constructor)) + struct device; struct interface; extern struct uci_context *uci_ctx; extern bool config_init; +int avl_strcmp(const void *k1, const void *k2, void *ptr); void config_init_interfaces(const char *name); #endif