2020-02-23 Bruno Haible <bruno@clisp.org>
+ c-vasnprintf: Use 'restrict'.
+ * lib/c-vasnprintf.h (c_vasnprintf): Use 'restrict'.
+ * modules/c-vasnprintf (configure.ac): Require AC_C_RESTRICT.
+
c-vsnprintf: Use 'restrict'.
* lib/c-vsnprintf.h (c_vsnprintf): Use 'restrict'.
* modules/c-vsnprintf (configure.ac): Require AC_C_RESTRICT.
Formatting takes place in the C locale, that is, the decimal point used in
floating-point formatting directives is always '.'.
*/
-extern char *c_vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args)
+extern char *c_vasnprintf (char *restrict resultbuf, size_t *lengthp,
+ const char *format, va_list args)
_GL_ATTRIBUTE_FORMAT ((__printf__, 3, 0));
#ifdef __cplusplus