+2021-02-08 Bruno Haible <bruno@clisp.org>
+
+ Document non-standard prototypes on MidnightBSD.
+ * doc/posix-functions/initstate.texi: Mention different prototype on
+ MidnightBSD 2.0.
+ * doc/posix-functions/srandom.texi: Likewise.
+ * doc/posix-functions/getlogin_r.texi: Likewise.
+ * doc/glibc-functions/sethostname.texi: Likewise.
+
2021-02-08 Bruno Haible <bruno@clisp.org>
posixtm tests: Fix warnings seen on MidnightBSD/x86.
on some platforms: Solaris 11 2010-11.
@item
The second parameter is @code{int} instead of @code{size_t}
-on some platforms: Mac OS X 10.12, Solaris 11 2010-11.
+on some platforms: Mac OS X 10.12, MidnightBSD 2.0, Solaris 11 2010-11.
@end itemize
@itemize
@item
This function has an incompatible declaration on some platforms:
-Solaris 11.4 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined).
+MidnightBSD 2.0, Solaris 11.4 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined).
@item
This function fails even when standard input is a tty on some platforms:
HP-UX 11.11.
Portability problems not fixed by Gnulib:
@itemize
+@item
+The first parameter is @code{unsigned long} instead of @code{unsigned int} on
+some platforms:
+MidnightBSD 2.0.
+@item
+The third parameter is @code{long} instead of @code{size_t} on some platforms:
+MidnightBSD 2.0.
@end itemize
This function has a slightly incompatible declaration (the return type being
@samp{long} instead of @samp{void}) on some platforms:
Cygwin 1.5.25.
+@item
+The parameter is @code{unsigned long} instead of @code{unsigned int} on some
+platforms:
+MidnightBSD 2.0.
@end itemize