From 9c42df500ad20de65dd1026d966d7d7a0da43e34 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 12 Dec 2016 17:45:59 -0500 Subject: internals: pe_impl.h: free-standing build env.: use __inline__ (cf. psxtypes). --- src/internal/pe_impl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/internal') diff --git a/src/internal/pe_impl.h b/src/internal/pe_impl.h index 313e1ac..c854824 100644 --- a/src/internal/pe_impl.h +++ b/src/internal/pe_impl.h @@ -19,7 +19,7 @@ struct pe_block { }; -static inline int32_t pe_impl_strlen_ansi(const char * str) +static __inline__ int32_t pe_impl_strlen_ansi(const char * str) { const char * ch; const char * upper_bound; @@ -35,7 +35,7 @@ static inline int32_t pe_impl_strlen_ansi(const char * str) } -static inline int32_t pe_impl_strlen_utf16(const wchar16_t * str) +static __inline__ int32_t pe_impl_strlen_utf16(const wchar16_t * str) { const wchar16_t * wch; const wchar16_t * upper_bound; @@ -52,7 +52,7 @@ static inline int32_t pe_impl_strlen_utf16(const wchar16_t * str) } -static inline wchar16_t pe_impl_utf16_char_to_lower(const wchar16_t c) +static __inline__ wchar16_t pe_impl_utf16_char_to_lower(const wchar16_t c) { return ((c >= 'A') && (c <= 'Z')) ? c + 'a' - 'A' -- cgit v1.2.3