* lib/stdlib.in.h (free): Add exception specification like glibc does.
+2022-04-28 Simon Marchi <simon.marchi@efficios.com> (tiny change)
+
+ stdlib: Fix error in C++ mode on glibc systems (regr. 2022-04-13).
+ * lib/stdlib.in.h (free): Add exception specification like glibc does.
+
2022-04-28 Paul Eggert <eggert@cs.ucla.edu>
glob: improve config and test cleanup
# undef free
# define free rpl_free
# endif
+# if defined __cplusplus && (__GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2)
+_GL_FUNCDECL_RPL (free, void, (void *ptr) throw ());
+# else
_GL_FUNCDECL_RPL (free, void, (void *ptr));
+# endif
_GL_CXXALIAS_RPL (free, void, (void *ptr));
# else
_GL_CXXALIAS_SYS (free, void, (void *ptr));