* threads-h tests: fix typo
@ 2019-11-20 2:47 Bruno Haible
0 siblings, 0 replies; only message in thread
From: Bruno Haible @ 2019-11-20 2:47 UTC (permalink / raw)
To: bug-gnulib
A misspelled type name...
2019-11-19 Bruno Haible <bruno@clisp.org>
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-20 2:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 2:47 threads-h tests: fix typo Bruno Haible
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).