aboutsummaryrefslogtreecommitdiffstats
path: root/regex_internal.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-04-11 22:38:53 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-04-11 22:38:53 +0300
commit9a4460fd589148895425cc80a98661f2b33839b1 (patch)
treea8fd5ded7469c1d2d5e318415857cd6931873229 /regex_internal.c
parent364d80abf47610074106cdbddbd1c2b9c9b04dae (diff)
parent2fc7555e229cd5cdba95e58bc434de0fe37e6a3c (diff)
downloadegawk-9a4460fd589148895425cc80a98661f2b33839b1.tar.gz
egawk-9a4460fd589148895425cc80a98661f2b33839b1.tar.bz2
egawk-9a4460fd589148895425cc80a98661f2b33839b1.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'regex_internal.c')
-rw-r--r--regex_internal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regex_internal.c b/regex_internal.c
index f6b2574f..a2d12266 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 _GL_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 _GL_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 _GL_ATTRIBUTE_PURE
+internal_function __attribute__ ((__pure__))
re_node_set_contains (const re_node_set *set, int elem)
{
unsigned int idx, right, mid;