[2.6 patch] net/core/netevent.c should #include <net/netevent.h>

From: Adrian Bunk
Date: Thu Jul 05 2007 - 19:22:18 EST


Every file should include the headers containing the prototypes for
its global functions.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---
--- linux-2.6.22-rc6-mm1/net/core/netevent.c.old 2007-07-03 04:59:08.000000000 +0200
+++ linux-2.6.22-rc6-mm1/net/core/netevent.c 2007-07-03 04:59:23.000000000 +0200
@@ -15,6 +15,7 @@

#include <linux/rtnetlink.h>
#include <linux/notifier.h>
+#include <net/netevent.h>

static ATOMIC_NOTIFIER_HEAD(netevent_notif_chain);


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/