summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.25/903-stddef_include.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-05-30 16:30:51 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-05-30 16:30:51 +0000
commitf664b7cb17d20e7a32e9bd07e85c9bb7ecb9e2ce (patch)
treeeee31435ae91d4838abf2a566762712522a30f1f /target/linux/generic-2.6/patches-2.6.25/903-stddef_include.patch
parent83072a149a7d7e6faf7276db7a5f6440d7fa0d24 (diff)
downloadmtk-20170518-f664b7cb17d20e7a32e9bd07e85c9bb7ecb9e2ce.zip
mtk-20170518-f664b7cb17d20e7a32e9bd07e85c9bb7ecb9e2ce.tar.gz
mtk-20170518-f664b7cb17d20e7a32e9bd07e85c9bb7ecb9e2ce.tar.bz2
refresh generic 2.6.25 patches to match upstream style
SVN-Revision: 11296
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 7dd82f4..c0c01c0 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