diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-20 22:25:08 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-29 23:38:54 -0800 |
commit | 96269bbd2c9c35940341c978261587bdf3bcda78 (patch) | |
tree | a019f5058f6b041d53f7b7b9cd614913fa063538 /lib | |
parent | a901e1f94eb5223ea4461dac1c7b4778ea58d8bf (diff) | |
download | gnulib-96269bbd2c9c35940341c978261587bdf3bcda78.tar.gz |
c-strtod, memcoll, readutmp: no 'static inline'
* lib/c-strtod.c (c_locale):
* lib/memcoll.c (strcoll_loop):
* lib/readutmp.c (desirable_utmp_entry):
Now static, not static inline.
* m4/c-strtod.m4 (gl_C_STRTOD, gl_C_STRTOLD):
* m4/memcoll.m4 (gl_MEMCOLL):
* m4/readutmp.m4 (gl_READUTMP):
Do not require AC_C_INLINE.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/c-strtod.c | 2 | ||||
-rw-r--r-- | lib/memcoll.c | 2 | ||||
-rw-r--r-- | lib/readutmp.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/c-strtod.c b/lib/c-strtod.c index a5973d477e..576808e382 100644 --- a/lib/c-strtod.c +++ b/lib/c-strtod.c @@ -52,7 +52,7 @@ static volatile locale_t c_locale_cache; /* Return the C locale object, or (locale_t) 0 with errno set if it cannot be created. */ -static inline locale_t +static locale_t c_locale (void) { if (!c_locale_cache) diff --git a/lib/memcoll.c b/lib/memcoll.c index eb244638a8..5751328e65 100644 --- a/lib/memcoll.c +++ b/lib/memcoll.c @@ -31,7 +31,7 @@ nonzero sizes, and the last byte in each block must be a null byte. Set errno to an error number if there is an error, and to zero otherwise. */ -static inline int +static int strcoll_loop (char const *s1, size_t s1size, char const *s2, size_t s2size) { int diff; diff --git a/lib/readutmp.c b/lib/readutmp.c index ef6277a680..ed8783a603 100644 --- a/lib/readutmp.c +++ b/lib/readutmp.c @@ -61,7 +61,7 @@ extract_trimmed_name (const STRUCT_UTMP *ut) /* Is the utmp entry U desired by the user who asked for OPTIONS? */ -static inline bool +static bool desirable_utmp_entry (STRUCT_UTMP const *u, int options) { bool user_proc = IS_USER_PROCESS (u); |