mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-08-16 02:06:12 -04:00
microblaze: Remove ignored return type for __arch__swab16 function
This change remove compilation warnings. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
e2776587c0
commit
292ed489db
@ -27,7 +27,9 @@
|
|||||||
|
|
||||||
I think this is a symptom of a bug in mb-gcc. JW 20040303
|
I think this is a symptom of a bug in mb-gcc. JW 20040303
|
||||||
*/
|
*/
|
||||||
static __inline__ __const__ __u16 ___arch__swab16 (__u16 half_word)
|
|
||||||
|
|
||||||
|
static __inline__ __u16 ___arch__swab16 (__u16 half_word)
|
||||||
{
|
{
|
||||||
/* 32 bit temp to cast result, forcing clearing of high word */
|
/* 32 bit temp to cast result, forcing clearing of high word */
|
||||||
__u32 temp;
|
__u32 temp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user