]> Savannah Git Hosting - gnulib.git/commitdiff
stdlib-c++-tests: Update.
authorBruno Haible <bruno@clisp.org>
Fri, 5 May 2017 20:29:18 +0000 (22:29 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 5 May 2017 22:22:44 +0000 (00:22 +0200)
* tests/test-stdlib-c++.cc (posix_openpt): Declare, missing since
2011-10-18.
(ptsname_r): Declare, missing since 2011-11-07.
(qsort_r): Declare, missing since 2014-08-29.
(random, srandom, initstate, setstate): Declare, missing since
2012-01-14.
(secure_getenv): Declare, missing since 2013-02-05.

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

index 4fa26a2316a2cd1f94107a91f2ef86b42264cd91..1ab7e7f88aab7e7df42a77760ee79f58eba1a772 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2017-05-05 Bruno Haible  <bruno@clisp.org>
+
+       stdlib-c++-tests: Update.
+       * tests/test-stdlib-c++.cc (posix_openpt): Declare, missing since
+       2011-10-18.
+       (ptsname_r): Declare, missing since 2011-11-07.
+       (qsort_r): Declare, missing since 2014-08-29.
+       (random, srandom, initstate, setstate): Declare, missing since
+       2012-01-14.
+       (secure_getenv): Declare, missing since 2013-02-05.
+
 2017-05-05 Bruno Haible  <bruno@clisp.org>
 
        stdio-c++-tests: Update.
index 45a78f739a130d7d285a7ea6ce1b047a80782871..a416b85df721230ee58c61d1bf7276c4d612546d 100644 (file)
@@ -85,14 +85,45 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::mkstemp, int, (char *));
 SIGNATURE_CHECK (GNULIB_NAMESPACE::mkstemps, int, (char *, int));
 #endif
 
+#if GNULIB_TEST_POSIX_OPENPT
+SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_openpt, int, (int));
+#endif
+
 #if GNULIB_TEST_PTSNAME
 SIGNATURE_CHECK (GNULIB_NAMESPACE::ptsname, char *, (int));
 #endif
 
+#if GNULIB_TEST_PTSNAME_R
+SIGNATURE_CHECK (GNULIB_NAMESPACE::ptsname_r, int, (int, char *, size_t));
+#endif
+
 #if GNULIB_TEST_PUTENV
 SIGNATURE_CHECK (GNULIB_NAMESPACE::putenv, int, (char *));
 #endif
 
+#if GNULIB_TEST_QSORT_R
+SIGNATURE_CHECK (GNULIB_NAMESPACE::qsort_r, void,
+                 (void *, size_t, size_t,
+                  int (*) (void const *, void const *, void *), void *));
+#endif
+
+#if GNULIB_TEST_RANDOM
+SIGNATURE_CHECK (GNULIB_NAMESPACE::random, long, (void));
+#endif
+
+#if GNULIB_TEST_RANDOM
+SIGNATURE_CHECK (GNULIB_NAMESPACE::srandom, void, (unsigned int));
+#endif
+
+#if GNULIB_TEST_RANDOM
+SIGNATURE_CHECK (GNULIB_NAMESPACE::initstate, char *,
+                 (unsigned int, char *, size_t));
+#endif
+
+#if GNULIB_TEST_RANDOM
+SIGNATURE_CHECK (GNULIB_NAMESPACE::setstate, char *, (char *));
+#endif
+
 #if GNULIB_TEST_RANDOM_R
 SIGNATURE_CHECK (GNULIB_NAMESPACE::random_r, int,
                  (struct random_data *, int32_t *));
@@ -125,6 +156,10 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::realpath, char *, (const char *, char *));
 SIGNATURE_CHECK (GNULIB_NAMESPACE::rpmatch, int, (const char *));
 #endif
 
+#if GNULIB_TEST_SECURE_GETENV
+SIGNATURE_CHECK (GNULIB_NAMESPACE::secure_getenv, char *, (char const *));
+#endif
+
 #if GNULIB_TEST_SETENV
 SIGNATURE_CHECK (GNULIB_NAMESPACE::setenv, int,
                  (const char *, const char *, int));