]> Savannah Git Hosting - gnulib.git/commitdiff
unistd-c++-tests: Update.
authorBruno Haible <bruno@clisp.org>
Fri, 5 May 2017 21:11:12 +0000 (23:11 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 5 May 2017 22:22:46 +0000 (00:22 +0200)
* tests/test-unistd-c++.cc (isatty): Declare, missing since 2012-01-03.
(read): Declare, missing since 2011-04-15.
(sethostname): Declare, missing since 2011-12-03.

ChangeLog
tests/test-unistd-c++.cc

index 4ba9ee4acaedc35d1c353eaff024635c5d9c5c22..41bb58ff0c852a271f01112e00d2d43e8add6427 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-05-05 Bruno Haible  <bruno@clisp.org>
+
+       unistd-c++-tests: Update.
+       * tests/test-unistd-c++.cc (isatty): Declare, missing since 2012-01-03.
+       (read): Declare, missing since 2011-04-15.
+       (sethostname): Declare, missing since 2011-12-03.
+
 2017-05-05 Bruno Haible  <bruno@clisp.org>
 
        time-c++-tests: Update.
index f4d6dd33df80bc9acc9ab56055466d45239da4f6..a19acc899c149ccd3351271b88bad2bead18f521 100644 (file)
@@ -126,6 +126,10 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::endusershell, void, (void));
 SIGNATURE_CHECK (GNULIB_NAMESPACE::group_member, int, (gid_t));
 #endif
 
+#if GNULIB_TEST_ISATTY
+SIGNATURE_CHECK (GNULIB_NAMESPACE::isatty, int, (int));
+#endif
+
 #if GNULIB_TEST_LCHOWN
 SIGNATURE_CHECK (GNULIB_NAMESPACE::lchown, int, (char const *, uid_t, gid_t));
 #endif
@@ -161,6 +165,10 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::pwrite, ssize_t,
                  (int, const void *, size_t, off_t));
 #endif
 
+#if GNULIB_TEST_READ
+SIGNATURE_CHECK (GNULIB_NAMESPACE::read, ssize_t, (int, void *, size_t));
+#endif
+
 #if GNULIB_TEST_READLINK
 SIGNATURE_CHECK (GNULIB_NAMESPACE::readlink, ssize_t,
                  (const char *, char *, size_t));
@@ -175,6 +183,10 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::readlinkat, ssize_t,
 SIGNATURE_CHECK (GNULIB_NAMESPACE::rmdir, int, (char const *));
 #endif
 
+#if GNULIB_TEST_SETHOSTNAME
+SIGNATURE_CHECK (GNULIB_NAMESPACE::sethostname, int, (const char *, size_t));
+#endif
+
 #if GNULIB_TEST_SLEEP
 SIGNATURE_CHECK (GNULIB_NAMESPACE::sleep, unsigned int, (unsigned int));
 #endif