Skip to contentSkip to conversation

include stddef.h in include/linux/list.h

PATCH Benjamin LaHaise 2 participants 2 messages Mar 11, 2003 – Mar 15, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

include/linux/list.h line 9

Quoted 11 lines · Linux Kernel Mailing List

diff -Nru a/include/linux/list.h b/include/linux/list.h

include/linux/list.h +1 -0
@@ -3,6 +3,7 @@
 
 #ifdef __KERNEL__
 
+#include <linux/stddef.h>
 #include <linux/prefetch.h>
 #include <linux/stddef.h>
 #include <asm/system.h>

Huh? Surely you meant to delete the extra stddef.h include...

-ben

Signature · 1 line
Junk email?  <a href="mailto:[email protected]">[email protected]</a>
#2 lore raw

Hi Benjamin,

Quoted 9 lines · Benjamin LaHaise
Quoted 7 lines · Linux Kernel Mailing List

diff -Nru a/include/linux/list.h b/include/linux/list.h

include/linux/list.h +0 -0
@@ -3,6 +3,7 @@
 
 #ifdef __KERNEL__
 
Quoted 7 lines

include/linux/list.h line 9

Quoted 4 lines
include/linux/list.h +1 -0
+#include <linux/stddef.h>
 #include <linux/prefetch.h>
 #include <linux/stddef.h>
 #include <asm/system.h>

Huh? Surely you meant to delete the extra stddef.h include...

No the original patch included stddef.h, when none was included. Obviously 2 patch sets have been applied post 2.5.64 that are trying to do the same thing.

Regards
Greg

------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: [email protected]
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: www.SnapGear.com