From: Alan Cox Date: Tue, 13 Sep 2016 21:02:37 +0000 (+0100) Subject: 68000: prototype for the 32bit conversion X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=81da7e89bc71e7f3350dedca4ec69ee842493f98;p=FUZIX.git 68000: prototype for the 32bit conversion --- diff --git a/Kernel/cpu-68000/cpu.h b/Kernel/cpu-68000/cpu.h index c8a9e83e..ff48232e 100644 --- a/Kernel/cpu-68000/cpu.h +++ b/Kernel/cpu-68000/cpu.h @@ -58,6 +58,8 @@ extern uint16_t swab(uint16_t); #define cpu_to_le16(x) le16_to_cpu(x) #define le16_to_cpu(x) (uint16_t)(__builtin_bswap16((uint16_t)(x))) #define cpu_to_le32(x) le32_to_cpu(x) +extern uint32_t le32_to_cpu(uint32_t); + /* This is broken on the Fedora m68k gcc 5.3.1 */ //#define le32_to_cpu(x) (uint32_t)(__builtin_bswap32((uint32_t)(x)))