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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Adrian Bunk <[email protected]>

---
--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux