diff options
Diffstat (limited to 'src/tools/imgtool/modules/ti990hd.cpp')
-rw-r--r-- | src/tools/imgtool/modules/ti990hd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/imgtool/modules/ti990hd.cpp b/src/tools/imgtool/modules/ti990hd.cpp index 2c2a6c3a13c..554addb97bd 100644 --- a/src/tools/imgtool/modules/ti990hd.cpp +++ b/src/tools/imgtool/modules/ti990hd.cpp @@ -47,23 +47,23 @@ struct UINT32BE UINT8 bytes[4]; }; -INLINE UINT16 get_UINT16BE(UINT16BE word) +static inline UINT16 get_UINT16BE(UINT16BE word) { return (word.bytes[0] << 8) | word.bytes[1]; } -INLINE void set_UINT16BE(UINT16BE *word, UINT16 data) +static inline void set_UINT16BE(UINT16BE *word, UINT16 data) { word->bytes[0] = (data >> 8) & 0xff; word->bytes[1] = data & 0xff; } -INLINE UINT32 get_UINT32BE(UINT32BE word) +static inline UINT32 get_UINT32BE(UINT32BE word) { return (word.bytes[0] << 24) | (word.bytes[1] << 16) | (word.bytes[2] << 8) | word.bytes[3]; } -INLINE void set_UINT32BE(UINT32BE *word, UINT32 data) +static inline void set_UINT32BE(UINT32BE *word, UINT32 data) { word->bytes[0] = (data >> 24) & 0xff; word->bytes[1] = (data >> 16) & 0xff; |