madwifi: improve autochannel, nuke some dead code, fix scanlist building from channel...
[openwrt.git] / tools / mtd-utils / patches / 100-gcc4_fix.patch
1 --- a/include/mtd/jffs2-user.h
2 +++ b/include/mtd/jffs2-user.h
3 @@ -19,8 +19,6 @@
4 #undef je32_to_cpu
5 #undef jemode_to_cpu
6
7 -extern int target_endian;
8 -
9 #define t16(x) ({ uint16_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); })
10 #define t32(x) ({ uint32_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); })
11
12 --- a/util/jffs3.h
13 +++ b/util/jffs3.h
14 @@ -177,8 +177,6 @@ union jffs3_node_union {
15 #undef je32_to_cpu
16 #undef jemode_to_cpu
17
18 -extern int target_endian;
19 -
20 #define t16(x) ({ uint16_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); })
21 #define t32(x) ({ uint32_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); })
22
This page took 0.039833 seconds and 5 git commands to generate.