netdev
[Top] [All Lists]

Re: [PATCH] remove leading space in linux/skbuff.h

To: Andrew Morton <akpm@xxxxxxxx>, netdev@xxxxxxxxxxx
Subject: Re: [PATCH] remove leading space in linux/skbuff.h
From: Olaf Hering <olh@xxxxxxx>
Date: Sun, 19 Sep 2004 00:45:07 +0200
In-reply-to: <20040918223832.GA28730@xxxxxxx>
References: <20040918223832.GA28730@xxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt und vi sind doch schneller als Notes (und GroupWise)
 On Sun, Sep 19, Olaf Hering wrote:

> 
> unifdef complains about the leading space.
 
maybe the whole content can be in #ifdef __KERNEL__

Signed-off-by: Olaf Hering <olh@xxxxxxx>

diff -purN linux-2.6.8/include/linux/skbuff.h 
linux-2.6.8.xxx/include/linux/skbuff.h
--- linux-2.6.8/include/linux/skbuff.h  2004-09-19 00:11:39.094174840 +0200
+++ linux-2.6.8.xxx/include/linux/skbuff.h      2004-09-19 00:42:48.187538697 
+0200
@@ -13,6 +13,7 @@
 
 #ifndef _LINUX_SKBUFF_H
 #define _LINUX_SKBUFF_H
+#ifdef __KERNEL__
 
 #include <linux/config.h>
 #include <linux/kernel.h>
@@ -271,7 +272,7 @@ struct sk_buff {
 #ifdef CONFIG_NET_CLS_ACT
        __u32           tc_verd;               /* traffic control verdict */
        __u32           tc_classid;            /* traffic control classid */
- #endif
+#endif
 
 #endif
 
@@ -285,7 +286,6 @@ struct sk_buff {
                                *end;
 };
 
-#ifdef __KERNEL__
 /*
  *     Handling routines are only of interest to the kernel
  */
-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

<Prev in Thread] Current Thread [Next in Thread>