bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

threads-h tests: fix typo


From: Bruno Haible
Subject: threads-h tests: fix typo
Date: Wed, 20 Nov 2019 03:47:08 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-166-generic; KDE/5.18.0; x86_64; ; )

A misspelled type name...


2019-11-19  Bruno Haible  <address@hidden>

        threads-h tests: Fix typo.
        * tests/test-threads-c++.cc: Fix references to undefined type 'mtx'.

diff --git a/tests/test-threads-c++.cc b/tests/test-threads-c++.cc
index 66877d4..ae0d865 100644
--- a/tests/test-threads-c++.cc
+++ b/tests/test-threads-c++.cc
@@ -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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]