# HG changeset patch # User Paul Eggert # Date 1353481994 28800 # Node ID 453eac33693fc782df3e7e1f0f0991ca5bbd32d0 # Parent 7a49d921d9684d943806c98fdd6c0c17b486bd48 sys_stat: no 'static inline' * lib/sys_stat.in.h (rpl_mkdir): Now static, not static inline. * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Do not require AC_C_INLINE. diff -r 7a49d921d968 -r 453eac33693f ChangeLog --- a/ChangeLog Tue Nov 20 22:25:10 2012 -0800 +++ b/ChangeLog Tue Nov 20 23:13:14 2012 -0800 @@ -1,5 +1,9 @@ 2012-11-29 Paul Eggert + sys_stat: no 'static inline' + * lib/sys_stat.in.h (rpl_mkdir): Now static, not static inline. + * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Do not require AC_C_INLINE. + extern-inline: no 'static inline' * m4/extern-inline.m4 (gl_EXTERN_INLINE): Do not require AC_C_INLINE. diff -r 7a49d921d968 -r 453eac33693f lib/sys_stat.in.h --- a/lib/sys_stat.in.h Tue Nov 20 22:25:10 2012 -0800 +++ b/lib/sys_stat.in.h Tue Nov 20 23:13:14 2012 -0800 @@ -497,7 +497,7 @@ # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ # if !GNULIB_defined_rpl_mkdir -static inline int +static int rpl_mkdir (char const *name, mode_t mode) { return _mkdir (name); diff -r 7a49d921d968 -r 453eac33693f m4/sys_stat_h.m4 --- a/m4/sys_stat_h.m4 Tue Nov 20 22:25:10 2012 -0800 +++ b/m4/sys_stat_h.m4 Tue Nov 20 23:13:14 2012 -0800 @@ -1,4 +1,4 @@ -# sys_stat_h.m4 serial 27 -*- Autoconf -*- +# sys_stat_h.m4 serial 28 -*- Autoconf -*- dnl Copyright (C) 2006-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, @@ -11,9 +11,6 @@ [ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) - dnl For the mkdir substitute. - AC_REQUIRE([AC_C_INLINE]) - dnl Check for broken stat macros. AC_REQUIRE([AC_HEADER_STAT])