From 51b4e6f84be3ba3d48ee7406633d136b588537e9 Mon Sep 17 00:00:00 2001 From: John Malmberg Date: Sun, 10 Apr 2016 16:34:18 -0500 Subject: Fix the build on VMS --- regex_internal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'regex_internal.c') diff --git a/regex_internal.c b/regex_internal.c index 759c7c81..f6b2574f 100644 --- a/regex_internal.c +++ b/regex_internal.c @@ -840,7 +840,7 @@ re_string_reconstruct (re_string_t *pstr, int idx, int eflags) } static unsigned char -internal_function __attribute ((pure)) +internal_function _GL_ATTRIBUTE_PURE re_string_peek_byte_case (const re_string_t *pstr, int idx) { int ch, off; @@ -1372,7 +1372,7 @@ re_node_set_insert_last (re_node_set *set, int elem) return 1 if SET1 and SET2 are equivalent, return 0 otherwise. */ static int -internal_function __attribute ((pure)) +internal_function _GL_ATTRIBUTE_PURE re_node_set_compare (const re_node_set *set1, const re_node_set *set2) { int i; @@ -1387,7 +1387,7 @@ re_node_set_compare (const re_node_set *set1, const re_node_set *set2) /* Return (idx + 1) if SET contains the element ELEM, return 0 otherwise. */ static int -internal_function __attribute ((pure)) +internal_function _GL_ATTRIBUTE_PURE re_node_set_contains (const re_node_set *set, int elem) { unsigned int idx, right, mid; -- cgit v1.2.3