From f1d70dad5381352b3cad04b5ee0dd0efe2627683 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 7 Feb 2013 14:44:18 -0800 Subject: Remove lots of inline keywords. --- locale/elem-hash.h | 2 +- locale/programs/locarchive.c | 2 +- locale/setlocale.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'locale') 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)) -- cgit v1.1