summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-06-16 12:40:48 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-06-16 12:40:48 +0000
commit2f4fa6de7453790e0626da50078b2756dd747ca6 (patch)
treedb6af3bddf359b63b08b4ad6cd37535551613bec /target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch
parente147bf8fa3c6e9023fbda64bfeb95de2910ab656 (diff)
downloadmtk-20170518-2f4fa6de7453790e0626da50078b2756dd747ca6.zip
mtk-20170518-2f4fa6de7453790e0626da50078b2756dd747ca6.tar.gz
mtk-20170518-2f4fa6de7453790e0626da50078b2756dd747ca6.tar.bz2
refresh generic 2.6.22 patches
SVN-Revision: 11498
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch b/target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch
index 6cf3f91..c0c01c0 100644
--- a/target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch
@@ -1,8 +1,6 @@
-Index: linux-2.6.22.19/include/linux/stddef.h
-===================================================================
---- linux-2.6.22.19.orig/include/linux/stddef.h
-+++ linux-2.6.22.19/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.22.19/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