Mercurial > hg > octave-nkf > gnulib-hg
changeset 17191:d27d22e71282
xvasprintf: no 'static inline'
* lib/xvasprintf.c (xstrcat):
Now static, not static inline.
* m4/xvasprintf.m4 (gl_XVASPRINTF):
Do not require AC_C_INLINE.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 20 Nov 2012 22:25:10 -0800 |
parents | 6fa7c7fb76b2 |
children | 56ba760172b4 |
files | ChangeLog lib/xvasprintf.c m4/xvasprintf.m4 |
diffstat | 3 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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)
--- a/lib/xvasprintf.c +++ b/lib/xvasprintf.c @@ -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;
--- a/m4/xvasprintf.m4 +++ b/m4/xvasprintf.m4 @@ -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], [:])