From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Subject: threads-h tests: fix typo
Date: Wed, 20 Nov 2019 03:47:08 +0100 [thread overview]
Message-ID: <1906795.d1MI5ss8P6@omega> (raw)
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
reply other threads:[~2019-11-20 2:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1906795.d1MI5ss8P6@omega \
--to=bruno@clisp.org \
--cc=bug-gnulib@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).