* tests/test-freelocale.c: Skip the signature check on macOS.
* doc/posix-functions/freelocale.texi: Mention the macOS problem.
+2025-02-14 Bruno Haible <bruno@clisp.org>
+
+ freelocale: Allow non-POSIX prototype on macOS.
+ * tests/test-freelocale.c: Skip the signature check on macOS.
+ * doc/posix-functions/freelocale.texi: Mention the macOS problem.
+
2025-02-14 Bruno Haible <bruno@clisp.org>
newlocale: Work around NetBSD bug.
Portability problems not fixed by Gnulib:
@itemize
@item
+This function's return type is @code{int} instead of @code{void} on macOS.
+@item
This function may cause crashes in subsequent @code{newlocale} invocations
on some platforms:
@c https://dev.haiku-os.org/ticket/18344
#include <locale.h>
#include "signature.h"
+#if !(defined __APPLE__ && defined __MACH__)
SIGNATURE_CHECK (freelocale, void, (locale_t));
+#endif
#include "macros.h"