diff options
Diffstat (limited to 'src/tools/imgtool/modules/concept.cpp')
-rw-r--r-- | src/tools/imgtool/modules/concept.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/imgtool/modules/concept.cpp b/src/tools/imgtool/modules/concept.cpp index a5c5a37b1ad..3da7304c955 100644 --- a/src/tools/imgtool/modules/concept.cpp +++ b/src/tools/imgtool/modules/concept.cpp @@ -30,7 +30,7 @@ struct UINT16xE Returns value of word in native format */ -INLINE UINT16 get_UINT16xE(int little_endian, UINT16xE word) +static inline UINT16 get_UINT16xE(int little_endian, UINT16xE word) { return little_endian ? (word.bytes[0] | (word.bytes[1] << 8)) : ((word.bytes[0] << 8) | word.bytes[1]); } @@ -46,7 +46,7 @@ INLINE UINT16 get_UINT16xE(int little_endian, UINT16xE word) word (O): pointer to word to write data (I): value to write in word, in native format */ -INLINE void set_UINT16xE(int little_endian, UINT16xE *word, UINT16 data) +static inline void set_UINT16xE(int little_endian, UINT16xE *word, UINT16 data) { if (little_endian) { |