diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | string/strcoll_l.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index bf7998bdf6..058c5a4c89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-11-24 Leonhard Holz <leonhard.holz@web.de> + + * string/strcoll_l.c (get_next_seq): __always_inline. + * string/strcoll_l.c (do_compare): __always_inline. + 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com> * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is diff --git a/string/strcoll_l.c b/string/strcoll_l.c index 7a2d066e9b..ddac7e5d91 100644 --- a/string/strcoll_l.c +++ b/string/strcoll_l.c @@ -63,7 +63,7 @@ typedef struct } coll_seq; /* Get next sequence. Traverse the string as required. */ -static void +static __always_inline void get_next_seq (coll_seq *seq, int nrules, const unsigned char *rulesets, const USTRING_TYPE *weights, const int32_t *table, const USTRING_TYPE *extra, const int32_t *indirect, @@ -194,7 +194,7 @@ get_next_seq (coll_seq *seq, int nrules, const unsigned char *rulesets, } /* Compare two sequences. */ -static int +static __always_inline int do_compare (coll_seq *seq1, coll_seq *seq2, int position, const USTRING_TYPE *weights) { |