diff --git a/i386-dis.c b/i386-dis.c index 0a63294f722150950547aca839b3609788f710fd..a11bdf11d100231b55ba4c21411670ac472709f8 100644 --- a/i386-dis.c +++ b/i386-dis.c @@ -33,12 +33,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ * the Intel manual for details. */ +#include +#include + #include "dis-asm.h" #define MAXLEN 20 -#include - static int fetch_data PARAMS ((struct disassemble_info *, bfd_byte *)); struct dis_private diff --git a/thunk.h b/thunk.h index 017cfe357277747fdc042fde23226690f0f8162d..2fa3f63accd8900a8b600c04b7c86285a14d4d80 100644 --- a/thunk.h +++ b/thunk.h @@ -94,17 +94,17 @@ static inline uint64_t bswap64(uint64_t x) return bswap_64(x); } -static void inline bswap16s(uint16_t *s) +static inline void bswap16s(uint16_t *s) { *s = bswap16(*s); } -static void inline bswap32s(uint32_t *s) +static inline void bswap32s(uint32_t *s) { *s = bswap32(*s); } -static void inline bswap64s(uint64_t *s) +static inline void bswap64s(uint64_t *s) { *s = bswap64(*s); } @@ -126,17 +126,17 @@ static inline uint64_t tswap64(uint64_t s) return bswap64(s); } -static void inline tswap16s(uint16_t *s) +static inline void tswap16s(uint16_t *s) { *s = bswap16(*s); } -static void inline tswap32s(uint32_t *s) +static inline void tswap32s(uint32_t *s) { *s = bswap32(*s); } -static void inline tswap64s(uint64_t *s) +static inline void tswap64s(uint64_t *s) { *s = bswap64(*s); } @@ -158,15 +158,15 @@ static inline uint64_t tswap64(uint64_t s) return s; } -static void inline tswap16s(uint16_t *s) +static inline void tswap16s(uint16_t *s) { } -static void inline tswap32s(uint32_t *s) +static inline void tswap32s(uint32_t *s) { } -static void inline tswap64s(uint64_t *s) +static inline void tswap64s(uint64_t *s) { }