* lib/stat.c (orig_stat): Now static, not static inline. * m4/stat.m4 (gl_PREREQ_STAT): Do not require AC_C_INLINE. --- ChangeLog | 4 ++++ lib/stat.c | 2 +- m4/stat.m4 | 8 ++------ 3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog index be59365..9095547 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-08-18 Paul Eggert <[email protected]> + stat: avoid 'static inline' + * lib/stat.c (orig_stat): Now static, not static inline. + * m4/stat.m4 (gl_PREREQ_STAT): Do not require AC_C_INLINE. + crypto/sha512: avoid 'static inline' * lib/sha512.c (set_uint64): Now static, not static inline. * m4/sha512.m4 (gl_SHA512): Do not require AC_C_INLINE. diff --git a/lib/stat.c b/lib/stat.c index 7599540..c0bcb88 100644 --- a/lib/stat.c +++ b/lib/stat.c @@ -42,7 +42,7 @@ # endif #endif -static inline int +static int orig_stat (const char *filename, struct stat *buf) { return stat (filename, buf); diff --git a/m4/stat.m4 b/m4/stat.m4 index a8b79f5..0fd117e 100644 --- a/m4/stat.m4 +++ b/m4/stat.m4 @@ -1,4 +1,4 @@ -# serial 10 +# serial 11 # Copyright (C) 2009-2012 Free Software Foundation, Inc. # @@ -68,8 +68,4 @@ AC_DEFUN([gl_FUNC_STAT], ]) # Prerequisites of lib/stat.c. -AC_DEFUN([gl_PREREQ_STAT], -[ - AC_REQUIRE([AC_C_INLINE]) - : -]) +AC_DEFUN([gl_PREREQ_STAT], [:]) -- 1.7.6.5
