Fix interface list definition
authorFelix Fietkau <nbd@openwrt.org>
Wed, 11 Aug 2010 15:56:21 +0000 (17:56 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 11 Aug 2010 16:21:18 +0000 (18:21 +0200)
relayd.h

index e724c4eb859b00a935082b5fb7269f08c4c2ee26..fd23833a37294adc937e5324aa1881496a42fcb3 100644 (file)
--- a/relayd.h
+++ b/relayd.h
@@ -104,7 +104,7 @@ struct rtnl_req {
        struct rtmsg rt;
 } __packed;
 
-struct list_head interfaces;
+extern struct list_head interfaces;
 extern int debug;
 
 void relayd_add_route(struct relayd_host *host);