[patch 7/8] annotate if_* header for make headers_check

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

 



stop headers_check from warning about include/linux/if_*.h

Signed-off-by: Arnd Bermann <[email protected]>

diff --git a/include/linux/if_fc.h b/include/linux/if_fc.h
index 376a34e..6ed7f1b 100644
Index: linux-cg/include/linux/if_fc.h
===================================================================
--- linux-cg.orig/include/linux/if_fc.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_fc.h	2006-09-18 03:16:27.000000000 +0200
@@ -20,6 +20,7 @@
 #ifndef _LINUX_IF_FC_H
 #define _LINUX_IF_FC_H
 
+/* @headercheck: -include linux/types.h @ */
 
 #define FC_ALEN	6		/* Octets in one ethernet addr	 */
 #define FC_HLEN   (sizeof(struct fch_hdr)+sizeof(struct fcllc))
Index: linux-cg/include/linux/if_fddi.h
===================================================================
--- linux-cg.orig/include/linux/if_fddi.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_fddi.h	2006-09-18 03:16:27.000000000 +0200
@@ -24,6 +24,8 @@
 #ifndef _LINUX_IF_FDDI_H
 #define _LINUX_IF_FDDI_H
 
+/* @headercheck: -include linux/types.h @ */
+
 /*
  *  Define max and min legal sizes.  The frame sizes do not include
  *  4 byte FCS/CRC (frame check sequence).
Index: linux-cg/include/linux/if_ppp.h
===================================================================
--- linux-cg.orig/include/linux/if_ppp.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_ppp.h	2006-09-18 03:16:27.000000000 +0200
@@ -35,6 +35,8 @@
 #ifndef _IF_PPP_H_
 #define _IF_PPP_H_
 
+/* @headercheck: -include linux/ppp_defs.h @ */
+/* @headercheck: -include linux/if.h @ */
 #include <linux/compiler.h>
 
 /*
Index: linux-cg/include/linux/if_pppox.h
===================================================================
--- linux-cg.orig/include/linux/if_pppox.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_pppox.h	2006-09-18 03:16:27.000000000 +0200
@@ -20,6 +20,9 @@
 #include <asm/types.h>
 #include <asm/byteorder.h>
 
+/* @headercheck: -include linux/if_ether.h @ */
+/* @headercheck: -include linux/if.h @ */
+
 #ifdef  __KERNEL__
 #include <linux/if_ether.h>
 #include <linux/if.h>
Index: linux-cg/include/linux/if_shaper.h
===================================================================
--- linux-cg.orig/include/linux/if_shaper.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_shaper.h	2006-09-18 03:16:27.000000000 +0200
@@ -1,6 +1,8 @@
 #ifndef __LINUX_SHAPER_H
 #define __LINUX_SHAPER_H
 
+/* @headercheck: -include linux/types.h @ */
+
 #ifdef __KERNEL__
 
 #define SHAPER_QLEN	10
Index: linux-cg/include/linux/if_strip.h
===================================================================
--- linux-cg.orig/include/linux/if_strip.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_strip.h	2006-09-18 03:16:27.000000000 +0200
@@ -18,6 +18,8 @@
 #ifndef __LINUX_STRIP_H
 #define __LINUX_STRIP_H
 
+/* @headercheck: -include linux/types.h @ */
+
 typedef struct {
     __u8 c[6];
 } MetricomAddress;
Index: linux-cg/include/linux/if_tunnel.h
===================================================================
--- linux-cg.orig/include/linux/if_tunnel.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_tunnel.h	2006-09-18 03:16:27.000000000 +0200
@@ -1,6 +1,9 @@
 #ifndef _IF_TUNNEL_H_
 #define _IF_TUNNEL_H_
 
+/* @headercheck: -include linux/if.h @ */
+/* @headercheck: -include linux/ip.h @ */
+
 #define SIOCGETTUNNEL   (SIOCDEVPRIVATE + 0)
 #define SIOCADDTUNNEL   (SIOCDEVPRIVATE + 1)
 #define SIOCDELTUNNEL   (SIOCDEVPRIVATE + 2)

--

-
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