diff options
author | Gary V. Vaughan <gary@gnu.org> | 2013-03-08 19:50:10 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2013-03-08 19:50:10 +0700 |
commit | 951e33a41cce0f553befee73311ac0af188ef239 (patch) | |
tree | b8f1f15e7980b576ec4078e0fe5f215b9af6a0a5 /lib/regex_internal.c | |
parent | 929bd53a6d2863c97bd3eb371f4693c39540bcb5 (diff) | |
download | gnulib-951e33a41cce0f553befee73311ac0af188ef239.tar.gz |
regex: rename remaining __attribute calls to __attribute__.
Commit 930b85b changed definition of __attribute, but left some uses
unchanged, preventing compilation of regex module on most non-gcc
environments:
* lib/regcomp.c (re_set_fastmap, seek_collating_symbol_entry)
(lookup_collation_sequence_value, build_range_exp)
(build_collating_symbol): Set attributes with newly renamed
__attribute__ decorator.
* lib/regex_internal.c (re_string_peek_byte_case)
(re_node_set_compare, re_node_set_contains): Likewise.
* lib/regexec.c (acquire_init_state_context): Likewise.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'lib/regex_internal.c')
-rw-r--r-- | lib/regex_internal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/regex_internal.c b/lib/regex_internal.c index e11ad3d56d..f679f87eaa 100644 --- a/lib/regex_internal.c +++ b/lib/regex_internal.c @@ -834,7 +834,7 @@ re_string_reconstruct (re_string_t *pstr, Idx idx, int eflags) } static unsigned char -internal_function __attribute ((pure)) +internal_function __attribute__ ((pure)) re_string_peek_byte_case (const re_string_t *pstr, Idx idx) { int ch; @@ -1354,7 +1354,7 @@ re_node_set_insert_last (re_node_set *set, Idx elem) Return true if SET1 and SET2 are equivalent. */ static bool -internal_function __attribute ((pure)) +internal_function __attribute__ ((pure)) re_node_set_compare (const re_node_set *set1, const re_node_set *set2) { Idx i; @@ -1369,7 +1369,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 Idx -internal_function __attribute ((pure)) +internal_function __attribute__ ((pure)) re_node_set_contains (const re_node_set *set, Idx elem) { __re_size_t idx, right, mid; |