* lib/lstat.c (orig_lstat): Now static, not static inline. * m4/lstat.m4 (gl_PREREQ_LSTAT): Do not require AC_C_INLINE. --- ChangeLog | 4 ++++ lib/lstat.c | 2 +- m4/lstat.m4 | 8 ++------ 3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 157df9d..66eb057 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-08-18 Paul Eggert <[email protected]> + lstat: avoid 'static inline' + * lib/lstat.c (orig_lstat): Now static, not static inline. + * m4/lstat.m4 (gl_PREREQ_LSTAT): Do not require AC_C_INLINE. + extern-inline: avoid 'static inline' * m4/extern-inline.m4 (gl_EXTERN_INLINE): Do not require AC_C_INLINE. diff --git a/lib/lstat.c b/lib/lstat.c index db119a1..97fe6bb 100644 --- a/lib/lstat.c +++ b/lib/lstat.c @@ -35,7 +35,7 @@ typedef int dummy; # include <sys/stat.h> # undef __need_system_sys_stat_h -static inline int +static int orig_lstat (const char *filename, struct stat *buf) { return lstat (filename, buf); diff --git a/m4/lstat.m4 b/m4/lstat.m4 index b7335bd..01b4eb9 100644 --- a/m4/lstat.m4 +++ b/m4/lstat.m4 @@ -1,4 +1,4 @@ -# serial 25 +# serial 26 # Copyright (C) 1997-2001, 2003-2012 Free Software Foundation, Inc. # @@ -27,11 +27,7 @@ AC_DEFUN([gl_FUNC_LSTAT], ]) # Prerequisites of lib/lstat.c. -AC_DEFUN([gl_PREREQ_LSTAT], -[ - AC_REQUIRE([AC_C_INLINE]) - : -]) +AC_DEFUN([gl_PREREQ_LSTAT], [:]) AC_DEFUN([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK], [ -- 1.7.6.5
