* lib/string.in.h, lib/wchar.in.h:
(free): When replacing it, declare the unreplaced version too.
Problem reported by Lucy Phipps in:
https://lists.gnu.org/r/bug-gnulib/2021-09/msg00026.html
+2021-09-08 Paul Eggert <eggert@cs.ucla.edu>
+
+ string, wchar: port rpl_free decl to Android
+ * lib/string.in.h, lib/wchar.in.h:
+ (free): When replacing it, declare the unreplaced version too.
+ Problem reported by Lucy Phipps in:
+ https://lists.gnu.org/r/bug-gnulib/2021-09/msg00026.html
+
2021-09-07 Paul Eggert <eggert@cs.ucla.edu>
string, wchar: avoid some namespace pollution
/* Declare 'free' if needed for _GL_ATTRIBUTE_DEALLOC_FREE. */
#if (@REPLACE_FREE@ && !defined free \
&& !(defined __cplusplus && defined GNULIB_NAMESPACE))
+_GL_EXTERN_C void free (void *);
# define free rpl_free
#endif
_GL_EXTERN_C void free (void *);
/* Declare 'free' if needed for _GL_ATTRIBUTE_DEALLOC_FREE. */
#if (@REPLACE_FREE@ && !defined free \
&& !(defined __cplusplus && defined GNULIB_NAMESPACE))
+_GL_EXTERN_C void free (void *);
# define free rpl_free
#endif
_GL_EXTERN_C void free (void *);