* lib/astrxfrm.h (astrxfrm): Use 'restrict'.
* modules/astrxfrm (configure.ac): Require AC_C_RESTRICT.
2020-02-23 Bruno Haible <bruno@clisp.org>
+ astrxfrm: Use 'restrict'.
+ * lib/astrxfrm.h (astrxfrm): Use 'restrict'.
+ * modules/astrxfrm (configure.ac): Require AC_C_RESTRICT.
+
amemxfrm: Use 'restrict'.
* lib/amemxfrm.h (amemxfrm): Use 'restrict'.
* modules/amemxfrm (configure.ac): Require AC_C_RESTRICT.
freshly allocated string is returned. In both cases, *lengthp is set to the
length of the returned string.
Upon failure, return NULL, with errno set. */
-extern char * astrxfrm (const char *s, char *resultbuf, size_t *lengthp);
+extern char * astrxfrm (const char *s,
+ char *restrict resultbuf, size_t *lengthp);
#ifdef __cplusplus
Depends-on:
configure.ac:
+AC_REQUIRE([AC_C_RESTRICT])
Makefile.am:
lib_SOURCES += astrxfrm.c