Document non-standard prototypes on MidnightBSD.
authorBruno Haible <bruno@clisp.org>
Mon, 8 Feb 2021 20:35:14 +0000 (21:35 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 8 Feb 2021 20:35:14 +0000 (21:35 +0100)
* 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.

ChangeLog
doc/glibc-functions/sethostname.texi
doc/posix-functions/getlogin_r.texi
doc/posix-functions/initstate.texi
doc/posix-functions/srandom.texi

index 1a5c84b19247cf567e4bb2c4e0d146f739be8817..56608437c71f898c8d01ca05c59cbf4554c01c85 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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.
index 8294a4a38cac52223d0bba389d2d4838cd6381a8..d34f4a14a25294d861da9a96e88b6e3d54f77121 100644 (file)
@@ -37,5 +37,5 @@ The first parameter is @code{char *} instead of @code{const char *}
 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
index d17c541365f81d8401a0726834f84abbd7253642..c70eb32dd93bc7a57509b46d04235ed5e91fcf7d 100644 (file)
@@ -25,7 +25,7 @@ Portability problems not fixed by Gnulib:
 @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.
index fa03e99aa91d113db1028f49d59cd71f8dc78944..3346767485d2dc8016ea399667b9700ec3a8b0f7 100644 (file)
@@ -18,4 +18,11 @@ Cygwin 1.5.25.
 
 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
index d553373c83e3d5fb04820dc347ecddc54f5826a5..12df9161ae590c87d8a8da2eb30e8584679d48c4 100644 (file)
@@ -22,4 +22,8 @@ Portability problems not fixed by Gnulib:
 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