]> Savannah Git Hosting - gnulib.git/commitdiff
threads-h tests: Fix typo.
authorBruno Haible <bruno@clisp.org>
Wed, 20 Nov 2019 02:45:01 +0000 (03:45 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 20 Nov 2019 02:45:01 +0000 (03:45 +0100)
* tests/test-threads-c++.cc: Fix references to undefined type 'mtx'.

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

index 166074b884d0f4274ac871caf0accb86dc7360ec..1217f3175570b2728f9afddd25a36e0ac1f1048f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-11-19  Bruno Haible  <bruno@clisp.org>
+
+       threads-h tests: Fix typo.
+       * tests/test-threads-c++.cc: Fix references to undefined type 'mtx'.
+
 2019-11-19  Bruno Haible  <bruno@clisp.org>
 
        pthread-thread: Fix prototype of pthread_attr_getdetachstate.
index 66877d4e94d291b8988486d45789104e48ad371d..ae0d86507a18f5ae166a1ff17a91656ed547bc7c 100644 (file)
@@ -38,13 +38,13 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::thrd_exit, _Noreturn void, (int));
 #endif
 
 #if GNULIB_TEST_MTX
-SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_init, int, (mtx *, int));
-SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_lock, int, (mtx *));
-SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_trylock, int, (mtx *));
+SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_init, int, (mtx_t *, int));
+SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_lock, int, (mtx_t *));
+SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_trylock, int, (mtx_t *));
 SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_timedlock, int,
-                 (mtx *, const struct timespec *));
-SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_unlock, int, (mtx *));
-SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_destroy, void, (mtx *));
+                 (mtx_t *, const struct timespec *));
+SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_unlock, int, (mtx_t *));
+SIGNATURE_CHECK (GNULIB_NAMESPACE::mtx_destroy, void, (mtx_t *));
 SIGNATURE_CHECK (GNULIB_NAMESPACE::call_once, void,
                  (once_flag *, void (*) (void)));
 #endif