* lib/amemxfrm.h (amemxfrm): Use 'restrict'.
* modules/amemxfrm (configure.ac): Require AC_C_RESTRICT.
+2020-02-23 Bruno Haible <bruno@clisp.org>
+
+ amemxfrm: Use 'restrict'.
+ * lib/amemxfrm.h (amemxfrm): Use 'restrict'.
+ * modules/amemxfrm (configure.ac): Require AC_C_RESTRICT.
+
2020-02-22 Paul Eggert <eggert@cs.ucla.edu>
fchmodat, lchmod: simplify
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 * amemxfrm (char *s, size_t n, char *resultbuf, size_t *lengthp);
+extern char * amemxfrm (char *restrict s, size_t n,
+ char *restrict resultbuf, size_t *lengthp);
#ifdef __cplusplus
Depends-on:
configure.ac:
+AC_REQUIRE([AC_C_RESTRICT])
Makefile.am:
lib_SOURCES += amemxfrm.c