2012-11-29 Paul Eggert <eggert@cs.ucla.edu>
+ 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.
+
arctwo, md4, md5, sha1, sha256, sha512: no 'static inline'
* lib/arctwo.c (to_uchar):
* lib/md4.c (set_uint32):
/* 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)
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;
/* 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);
-# c-strtod.m4 serial 14
+# c-strtod.m4 serial 15
# Copyright (C) 2004-2006, 2009-2012 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
[
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
AC_CHECK_FUNCS([strtod_l])
-
- AC_REQUIRE([AC_C_INLINE])
- :
])
dnl Prerequisites of lib/c-strtold.c.
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
AC_REQUIRE([gl_C99_STRTOLD])
AC_CHECK_FUNCS([strtold_l])
-
- AC_REQUIRE([AC_C_INLINE])
- :
])
-# memcoll.m4 serial 9
+# memcoll.m4 serial 10
dnl Copyright (C) 2002-2003, 2005-2006, 2009-2012 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
-AC_DEFUN([gl_MEMCOLL],
-[
- AC_REQUIRE([AC_C_INLINE])
-])
+AC_DEFUN([gl_MEMCOLL], [:])
-# readutmp.m4 serial 19
+# readutmp.m4 serial 20
dnl Copyright (C) 2002-2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_CHECK_HEADERS_ONCE([utmp.h utmpx.h])
if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
dnl Prerequisites of lib/readutmp.h and lib/readutmp.c.
- AC_REQUIRE([AC_C_INLINE])
AC_CHECK_FUNCS_ONCE([utmpname utmpxname])
AC_CHECK_DECLS([getutent],,,[[
/* <sys/types.h> is a prerequisite of <utmp.h> on FreeBSD 8.0, OpenBSD 4.6. */