]> Savannah Git Hosting - gnulib.git/commitdiff
sys_stat: no 'static inline'
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Nov 2012 07:13:14 +0000 (23:13 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 30 Nov 2012 07:38:58 +0000 (23:38 -0800)
* 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.

ChangeLog
lib/sys_stat.in.h
m4/sys_stat_h.m4

index f6d9439aeb812168621cb267ab36cf29d2bd6078..3e0497905014ca56f2dfa9f288fab5adf64997b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-11-29  Paul Eggert  <eggert@cs.ucla.edu>
 
+       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.
index e9e06a24de06d2e527763a5713c1093d1e26eb4f..29ffdf97276e738195cbca01e1cebbf4f083deb3 100644 (file)
@@ -497,7 +497,7 @@ _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode));
 # 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);
index f45dee1dc4dc35c88c5fdc900244d4f8343ddee2..8af3353ea5108608e167f2b74e3feb362d15b8a5 100644 (file)
@@ -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_DEFUN([gl_HEADER_SYS_STAT_H],
 [
   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])