浏览代码

dcb: fix sparse warnings

Add header with function definitions to quiet warnings and avoid future errors.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
stephen hemminger 12 年之前
父节点
当前提交
23bdbc80e1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/dcb/dcbevent.c

+ 1 - 0
net/dcb/dcbevent.c

@@ -20,6 +20,7 @@
 #include <linux/rtnetlink.h>
 #include <linux/rtnetlink.h>
 #include <linux/notifier.h>
 #include <linux/notifier.h>
 #include <linux/export.h>
 #include <linux/export.h>
+#include <net/dcbevent.h>
 
 
 static ATOMIC_NOTIFIER_HEAD(dcbevent_notif_chain);
 static ATOMIC_NOTIFIER_HEAD(dcbevent_notif_chain);