2009-02-21 16:46:03 +02:00
|
|
|
--- a/include/mtd/jffs2-user.h
|
|
|
|
+++ b/include/mtd/jffs2-user.h
|
2005-07-02 11:08:56 +03:00
|
|
|
@@ -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); })
|
|
|
|
|
2009-02-21 16:46:03 +02:00
|
|
|
--- a/util/jffs3.h
|
|
|
|
+++ b/util/jffs3.h
|
|
|
|
@@ -177,8 +177,6 @@ union jffs3_node_union {
|
2005-07-17 18:50:07 +03:00
|
|
|
#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); })
|
|
|
|
|