Fix compile warnings about always_inline functions in GCC 5.2.0

The warning is "always_inline function might not be inlinable", fixed by
adding inline keyword. See:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55830

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com
This commit is contained in:
Geoff Gustafson
2016-03-22 18:25:00 -07:00
parent cc23c225ea
commit f0db5c9754
14 changed files with 60 additions and 60 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ re_hex_lookup (re_parser_ctx_t *parser_ctx_p, /**< RegExp parser context */
* @return true, if non-greedy character found
* false, otherwise
*/
static bool __attr_always_inline___
static inline bool __attr_always_inline___
re_parse_non_greedy_char (re_parser_ctx_t *parser_ctx_p) /**< RegExp parser context */
{
if (parser_ctx_p->input_curr_p < parser_ctx_p->input_end_p