diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-14 19:08:26 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-14 19:08:26 +0300 |
commit | c281360e41563f20b36645896e01ae9bafd52b52 (patch) | |
tree | 018007bb9fae3816742319c7133432c04eafb058 | |
parent | 367417c47be947ed7d0af7b430af5ff1626bf7c1 (diff) | |
download | egawk-c281360e41563f20b36645896e01ae9bafd52b52.tar.gz egawk-c281360e41563f20b36645896e01ae9bafd52b52.tar.bz2 egawk-c281360e41563f20b36645896e01ae9bafd52b52.zip |
Replace __attribute with __attribute__ in regex routines.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | regex_internal.c | 6 | ||||
-rw-r--r-- | regexec.c | 2 |
3 files changed, 8 insertions, 4 deletions
@@ -2,6 +2,10 @@ * regcomp.c, regex_internal.h, regexec.c: Sync with GLIBC. + Unrelated: + + * regex_internal.c, regexec.c: __attribute --> __attribute__. + 2015-05-26 Paul Eggert <eggert@Penguin.CS.UCLA.EDU> * floatcomp.c (count_trailing_zeros): New function. diff --git a/regex_internal.c b/regex_internal.c index 5a5b9363..fcfa4ada 100644 --- a/regex_internal.c +++ b/regex_internal.c @@ -838,7 +838,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; @@ -1370,7 +1370,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; @@ -1385,7 +1385,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; @@ -1059,7 +1059,7 @@ prune_impossible_nodes (mctx) since initial states may have constraints like "\<", "^", etc.. */ static inline re_dfastate_t * -__attribute ((always_inline)) internal_function +__attribute__ ((always_inline)) internal_function acquire_init_state_context (reg_errcode_t *err, const re_match_context_t *mctx, int idx) { |