]> Savannah Git Hosting - gnulib.git/commitdiff
time-c++-tests: Update.
authorBruno Haible <bruno@clisp.org>
Fri, 5 May 2017 21:04:27 +0000 (23:04 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 5 May 2017 22:22:45 +0000 (00:22 +0200)
* tests/test-time-c++.cc (tzset): Declare, missing since 2017-05-01.
(localtime, gmtime): Declare, missing since 2017-04-30.
(ctime): Declare, missing since 2017-04-30.
(strftime): Declare, missing since 2017-04-30.
(tzalloc, tzfree, localtime_rz, mktime_z): Declare, missing since
2015-07-24.

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

index f3513f29e91dc11d052975bcbb7a72eb2479d2a6..4ba9ee4acaedc35d1c353eaff024635c5d9c5c22 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2017-05-05 Bruno Haible  <bruno@clisp.org>
+
+       time-c++-tests: Update.
+       * tests/test-time-c++.cc (tzset): Declare, missing since 2017-05-01.
+       (localtime, gmtime): Declare, missing since 2017-04-30.
+       (ctime): Declare, missing since 2017-04-30.
+       (strftime): Declare, missing since 2017-04-30.
+       (tzalloc, tzfree, localtime_rz, mktime_z): Declare, missing since
+       2015-07-24.
+
 2017-05-05 Bruno Haible  <bruno@clisp.org>
 
        sys_resource-c++-tests: New module.
index 0eb6982504d80c9bb7edd9c94ad0a8dcf7dd9600..09f375c47a6b9781ace0fea957e39027e8a52760 100644 (file)
@@ -29,6 +29,10 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::nanosleep, int,
                  (struct timespec const *, struct timespec *));
 #endif
 
+#if GNULIB_TEST_TZSET
+SIGNATURE_CHECK (GNULIB_NAMESPACE::tzset, void, (void));
+#endif
+
 #if GNULIB_TEST_MKTIME
 SIGNATURE_CHECK (GNULIB_NAMESPACE::mktime, time_t, (struct tm *));
 #endif
@@ -41,11 +45,36 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::gmtime_r, struct tm *,
                  (time_t const *, struct tm *));
 #endif
 
+#if GNULIB_TEST_LOCALTIME
+SIGNATURE_CHECK (GNULIB_NAMESPACE::localtime, struct tm *, (time_t const *));
+#endif
+
+#if 0
+SIGNATURE_CHECK (GNULIB_NAMESPACE::gmtime, struct tm *, (time_t const *));
+#endif
+
 #if GNULIB_TEST_STRPTIME
 SIGNATURE_CHECK (GNULIB_NAMESPACE::strptime, char *,
                  (char const *, char const *, struct tm *));
 #endif
 
+#if GNULIB_TEST_CTIME
+SIGNATURE_CHECK (GNULIB_NAMESPACE::ctime, char *, (time_t const *));
+#endif
+
+#if GNULIB_TEST_STRFTIME
+SIGNATURE_CHECK (GNULIB_NAMESPACE::strftime, size_t,
+                 (char *, size_t, const char *, const struct tm *));
+#endif
+
+#if GNULIB_TEST_TIMERZ
+SIGNATURE_CHECK (GNULIB_NAMESPACE::tzalloc, timezone_t, (char const *));
+SIGNATURE_CHECK (GNULIB_NAMESPACE::tzfree, void, (timezone_t));
+SIGNATURE_CHECK (GNULIB_NAMESPACE::localtime_rz, struct tm *,
+                 (timezone_t, time_t const *, struct tm *));
+SIGNATURE_CHECK (GNULIB_NAMESPACE::mktime_z, time_t, (timezone_t, struct tm *));
+#endif
+
 #if GNULIB_TEST_TIMEGM
 SIGNATURE_CHECK (GNULIB_NAMESPACE::timegm, time_t, (struct tm *));
 #endif