refresh generic 2.6.23 patches in upstream style
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches-2.6.23 / 903-stddef_include.patch
index 18205401e583c330a6b5035a6f48c39688b34d10..c0c01c0101b474eeec025495cad4d246408387ed 100644 (file)
@@ -1,8 +1,6 @@
-Index: linux-2.6.23.17/include/linux/stddef.h
-===================================================================
---- linux-2.6.23.17.orig/include/linux/stddef.h
-+++ linux-2.6.23.17/include/linux/stddef.h
-@@ -16,6 +16,7 @@ enum {
+--- a/include/linux/stddef.h
++++ b/include/linux/stddef.h
+@@ -16,6 +16,7 @@
        false   = 0,
        true    = 1
  };
@@ -10,7 +8,7 @@ Index: linux-2.6.23.17/include/linux/stddef.h
  
  #undef offsetof
  #ifdef __compiler_offsetof
-@@ -23,6 +24,5 @@ enum {
+@@ -23,6 +24,5 @@
  #else
  #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
  #endif