Replace use of _inline and __inline with inline

AC_C_INLINE in configure.in defines inline as a macro where necessary.
This commit is contained in:
Kevin Easton
2017-11-27 22:54:00 +11:00
parent a60937a8fd
commit 256b33747c
5 changed files with 39 additions and 40 deletions

View File

@@ -13,7 +13,7 @@
*/
#ifdef _cs_alist_hash_
static __inline u_32int_t cs_alist_hash (const char *s, u_32int_t *mask)
static inline u_32int_t cs_alist_hash (const char *s, u_32int_t *mask)
{
u_32int_t x;
@@ -43,7 +43,7 @@ static __inline u_32int_t cs_alist_hash (const char *s, u_32int_t *mask)
#endif
#ifdef _ci_alist_hash_
static __inline u_32int_t ci_alist_hash (const char *s, u_32int_t *mask)
static inline u_32int_t ci_alist_hash (const char *s, u_32int_t *mask)
{
u_32int_t x;