netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: Andrew Morton <akpm@osdl.org>, netdev@oss.sgi.com
Subject: Re: [PATCH] remove leading space in linux/skbuff.h
Date: Sun, 19 Sep 2004 00:45:07 +0200	[thread overview]
Message-ID: <20040918224507.GA28794@suse.de> (raw)
In-Reply-To: <20040918223832.GA28730@suse.de>

 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@suse.de>

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

  reply	other threads:[~2004-09-18 22:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-18 22:38 [PATCH] remove leading space in linux/skbuff.h Olaf Hering
2004-09-18 22:45 ` Olaf Hering [this message]
2004-09-22  2:55 ` David S. Miller
2004-09-22  8:42   ` Olaf Hering
2004-09-22 18:04     ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040918224507.GA28794@suse.de \
    --to=olh@suse.de \
    --cc=akpm@osdl.org \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).