summaryrefslogtreecommitdiffhomepage
path: root/netifd.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-29 21:12:07 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-03-29 21:12:07 +0200
commitaa76c9ee78146f97512f96524d3abb94210040a5 (patch)
tree03084f3b49c093d0abfa1e81eb913942762f2203 /netifd.h
parentc986fc7131d360923908546deab26717a839400d (diff)
rework includes
Diffstat (limited to 'netifd.h')
-rw-r--r--netifd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/netifd.h b/netifd.h
index fabf4d9..17b839b 100644
--- a/netifd.h
+++ b/netifd.h
@@ -13,15 +13,15 @@
#include <libubus.h>
#include <uci.h>
-#include "device.h"
-#include "interface.h"
-
#ifdef DEBUG
#define DPRINTF(format, ...) fprintf(stderr, "%s(%d): " format, __func__, __LINE__, ## __VA_ARGS__)
#else
#define DPRINTF(...) do {} while(0)
#endif
+struct device;
+struct interface;
+
extern struct uci_context *uci_ctx;
void config_init_interfaces(const char *name);