summaryrefslogtreecommitdiff
path: root/posix/regex_internal.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-02-07 14:44:18 -0800
committerRoland McGrath <roland@hack.frob.com>2013-02-07 14:44:18 -0800
commitf1d70dad5381352b3cad04b5ee0dd0efe2627683 (patch)
tree09ee58dd09a6fd5f18131b98cc337a001e90fcb2 /posix/regex_internal.h
parent7bd642f580ef5698bd5b1777a5ba7af2f58c5d8c (diff)
downloadglibc-f1d70dad5381352b3cad04b5ee0dd0efe2627683.tar.gz
Remove lots of inline keywords.
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r--posix/regex_internal.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 21cada87d3..b2806635a5 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -98,7 +98,6 @@
# define BE(expr, val) __builtin_expect (expr, val)
#else
# define BE(expr, val) (expr)
-# define inline
#endif
/* Number of single byte character. */
@@ -687,7 +686,7 @@ typedef struct
/* Inline functions for bitset operation. */
-static inline void
+static void
bitset_not (bitset_t set)
{
int bitset_i;
@@ -695,7 +694,7 @@ bitset_not (bitset_t set)
set[bitset_i] = ~set[bitset_i];
}
-static inline void
+static void
bitset_merge (bitset_t dest, const bitset_t src)
{
int bitset_i;
@@ -703,7 +702,7 @@ bitset_merge (bitset_t dest, const bitset_t src)
dest[bitset_i] |= src[bitset_i];
}
-static inline void
+static void
bitset_mask (bitset_t dest, const bitset_t src)
{
int bitset_i;
@@ -713,7 +712,7 @@ bitset_mask (bitset_t dest, const bitset_t src)
#ifdef RE_ENABLE_I18N
/* Inline functions for re_string. */
-static inline int
+static int
internal_function __attribute ((pure))
re_string_char_size_at (const re_string_t *pstr, int idx)
{
@@ -726,7 +725,7 @@ re_string_char_size_at (const re_string_t *pstr, int idx)
return byte_idx;
}
-static inline wint_t
+static wint_t
internal_function __attribute ((pure))
re_string_wchar_at (const re_string_t *pstr, int idx)
{