aboutsummaryrefslogtreecommitdiff
path: root/locale
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 /locale
parent7bd642f580ef5698bd5b1777a5ba7af2f58c5d8c (diff)
downloadglibc-f1d70dad5381352b3cad04b5ee0dd0efe2627683.zip
glibc-f1d70dad5381352b3cad04b5ee0dd0efe2627683.tar.gz
glibc-f1d70dad5381352b3cad04b5ee0dd0efe2627683.tar.bz2
Remove lots of inline keywords.
Diffstat (limited to 'locale')
-rw-r--r--locale/elem-hash.h2
-rw-r--r--locale/programs/locarchive.c2
-rw-r--r--locale/setlocale.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/locale/elem-hash.h b/locale/elem-hash.h
index 4343ef5..a308f5d 100644
--- a/locale/elem-hash.h
+++ b/locale/elem-hash.h
@@ -18,7 +18,7 @@
/* The hashing function used for the table with collation symbols. */
-static inline int32_t
+static int32_t
elem_hash (const char *str, int_fast32_t n)
{
int32_t result = n;
diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
index d50ac2b..70dce9b 100644
--- a/locale/programs/locarchive.c
+++ b/locale/programs/locarchive.c
@@ -45,7 +45,7 @@
/* Define the hash function. We define the function as static inline.
We must change the name so as not to conflict with simple-hash.h. */
-#define compute_hashval static inline archive_hashval
+#define compute_hashval static archive_hashval
#define hashval_t uint32_t
#include "hashval.h"
#undef compute_hashval
diff --git a/locale/setlocale.c b/locale/setlocale.c
index 31f6585..be95519 100644
--- a/locale/setlocale.c
+++ b/locale/setlocale.c
@@ -204,7 +204,7 @@ setname (int category, const char *name)
}
/* Put DATA in *_nl_current[CATEGORY]. */
-static inline void
+static void
setdata (int category, struct __locale_data *data)
{
if (CATEGORY_USED (category))