* tests/test-sethostname1.c: Skip the SIGNATURE_CHECK on some platforms.
* doc/glibc-functions/sethostname.texi: Update platforms list.
+2023-12-01 Bruno Haible <bruno@clisp.org>
+
+ sethostname tests: Fix a compilation error on FreeBSD 14.0.
+ * tests/test-sethostname1.c: Skip the SIGNATURE_CHECK on some platforms.
+ * doc/glibc-functions/sethostname.texi: Update platforms list.
+
2023-11-24 Bruno Haible <bruno@clisp.org>
floorf, ceilf tests: Strengthen against compiler optimizations.
@item
The second parameter is @code{int} instead of @code{size_t}
on some platforms:
-macOS 11.1, MidnightBSD 2.0, Solaris 11 2010-11.
+macOS 12.5, FreeBSD 14.0, MidnightBSD 3.0, IRIX 6.5, Solaris 11 2010-11, Solaris 11 OpenIndiana, Solaris 11 OmniOS.
@end itemize
#include <unistd.h>
#include "signature.h"
+#if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __sgi || defined __sun)
SIGNATURE_CHECK (sethostname, int, (const char *, size_t));
+#endif
int do_dangerous_things;