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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tom Tucker <tom@...>
Cc: <netdev@...>, <linux-kernel@...>
Date: Thursday, July 5, 2007 - 7:22 pm

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

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- 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);
 

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] net/core/netevent.c should #include <net/nete..., Adrian Bunk, (Thu Jul 5, 7:22 pm)