summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.25/903-stddef_include.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-30 16:30:51 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-30 16:30:51 +0000
commit48983d35d70395a391026c8f8bb1f44165ce058e (patch)
tree5e3bc42552316a5cdaf8eee331305ff7b55c7bad /target/linux/generic-2.6/patches-2.6.25/903-stddef_include.patch
parent1854938e6ee49ce15d9d11e555f1a12a2e46a6fd (diff)
refresh generic 2.6.25 patches to match upstream style
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11296 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.25/903-stddef_include.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.25/903-stddef_include.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.25/903-stddef_include.patch b/target/linux/generic-2.6/patches-2.6.25/903-stddef_include.patch
index 7dd82f459..c0c01c010 100644
--- a/target/linux/generic-2.6/patches-2.6.25/903-stddef_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.25/903-stddef_include.patch
@@ -1,8 +1,6 @@
-Index: linux-2.6.25.4/include/linux/stddef.h
-===================================================================
---- linux-2.6.25.4.orig/include/linux/stddef.h
-+++ linux-2.6.25.4/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.25.4/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