xvasprintf: no 'static inline'
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Nov 2012 06:25:10 +0000 (22:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 30 Nov 2012 07:38:56 +0000 (23:38 -0800)
* lib/xvasprintf.c (xstrcat):
Now static, not static inline.
* m4/xvasprintf.m4 (gl_XVASPRINTF):
Do not require AC_C_INLINE.

ChangeLog
lib/xvasprintf.c
m4/xvasprintf.m4

index 5e1f970..77836fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2012-11-29  Paul Eggert  <eggert@cs.ucla.edu>
 
+       xvasprintf: no 'static inline'
+       * lib/xvasprintf.c (xstrcat):
+       Now static, not static inline.
+       * m4/xvasprintf.m4 (gl_XVASPRINTF):
+       Do not require AC_C_INLINE.
+
        parse-datetime, parse-duration: no 'static inline'
        * lib/parse-datetime.y (to_uchar):
        * lib/parse-duration.c (str_const_to_ul, str_const_to_l)
index 7aaafd8..6213292 100644 (file)
@@ -29,7 +29,7 @@
 /* Checked size_t computations.  */
 #include "xsize.h"
 
-static inline char *
+static char *
 xstrcat (size_t argcount, va_list args)
 {
   char *result;
index 0e19deb..3c6f7a5 100644 (file)
@@ -1,11 +1,8 @@
-# xvasprintf.m4 serial 1
+# xvasprintf.m4 serial 2
 dnl Copyright (C) 2006, 2009-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,
 dnl with or without modifications, as long as this notice is preserved.
 
-AC_DEFUN([gl_XVASPRINTF],
-[
-  dnl Prerequisites of lib/xvasprintf.c.
-  AC_REQUIRE([AC_C_INLINE])
-])
+dnl Prerequisites of lib/xvasprintf.c.
+AC_DEFUN([gl_XVASPRINTF], [:])