summaryrefslogtreecommitdiffstats
path: root/tools/mtd-utils/patches/100-gcc4_fix.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-14 20:42:12 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-14 20:42:12 +0000
commit9f28e5bd03c15cbb0f9b1c534d16e065127aaeb2 (patch)
tree3acbb75c2746c4fa7b37b1847b4386ed13c7d825 /tools/mtd-utils/patches/100-gcc4_fix.patch
parent9c5df5edbc29971d43a0f66e7d41f4f196637843 (diff)
upgrade to a more recent version of mtd-utils - preparation for adding UBI support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16455 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mtd-utils/patches/100-gcc4_fix.patch')
-rw-r--r--tools/mtd-utils/patches/100-gcc4_fix.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/mtd-utils/patches/100-gcc4_fix.patch b/tools/mtd-utils/patches/100-gcc4_fix.patch
deleted file mode 100644
index 44bd7b597..000000000
--- a/tools/mtd-utils/patches/100-gcc4_fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/include/mtd/jffs2-user.h
-+++ b/include/mtd/jffs2-user.h
-@@ -19,8 +19,6 @@
- #undef je32_to_cpu
- #undef jemode_to_cpu
-
--extern int target_endian;
--
- #define t16(x) ({ uint16_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); })
- #define t32(x) ({ uint32_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); })
-
---- a/util/jffs3.h
-+++ b/util/jffs3.h
-@@ -177,8 +177,6 @@ union jffs3_node_union {
- #undef je32_to_cpu
- #undef jemode_to_cpu
-
--extern int target_endian;
--
- #define t16(x) ({ uint16_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); })
- #define t32(x) ({ uint32_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); })
-