diff options
Diffstat (limited to 'locale')
-rw-r--r-- | locale/elem-hash.h | 2 | ||||
-rw-r--r-- | locale/programs/locarchive.c | 2 | ||||
-rw-r--r-- | locale/setlocale.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/locale/elem-hash.h b/locale/elem-hash.h index 4343ef561c..a308f5d0eb 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 d50ac2b6b7..70dce9bfd5 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 31f6585272..be95519e9f 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)) |