#define KR_CONST __attribute__((__const__))
#define KR_PURE __attribute__((__pure__))
#define KR_NORETURN __attribute__((__noreturn__))
-#define KR_INLINE __attribute__((always_inline))
#else
#define KR_EXPORT
#define KR_CONST
#define KR_PURE
#define KR_NORETURN
-#define KR_INLINE
#endif
/*
}
/* @internal We don't need to deal with locale here */
-KR_CONST KR_INLINE static bool isletter(unsigned chr)
+KR_CONST static inline bool isletter(unsigned chr)
{ return (chr | 0x20 /* tolower */) - 'a' <= 'z' - 'a'; }
/* Randomize QNAME letter case.