summaryrefslogtreecommitdiff
path: root/support/regex_internal.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-06-22 22:14:49 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-06-22 22:14:49 +0300
commita702a6b6d6009068f4608a865bdd06a07259cf67 (patch)
treed585379df26577cf83ed1c11ea66d6e6bae41362 /support/regex_internal.c
parent0ac746db72a0879bbd44325fe15b3ae33c63ecef (diff)
downloadgawk-a702a6b6d6009068f4608a865bdd06a07259cf67.tar.gz
Update regex routines from GLIBC.
Diffstat (limited to 'support/regex_internal.c')
-rw-r--r--support/regex_internal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/regex_internal.c b/support/regex_internal.c
index 18641ef1..2b3120c2 100644
--- a/support/regex_internal.c
+++ b/support/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 __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 __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 __attribute ((pure))
re_node_set_contains (const re_node_set *set, int elem)
{
unsigned int idx, right, mid;