diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-04-23 07:39:59 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-04-23 07:39:59 -0700 |
| commit | 01817988f4631bdd8ee5cec9c6b69039712a93fe (patch) | |
| tree | c8c4259671fbb586a466a8c5d623fc8c183f8927 /tests/synch.c | |
| parent | ff00eac2401732e9efb6170ffb90100dcf6332a7 (diff) | |
| download | nng-01817988f4631bdd8ee5cec9c6b69039712a93fe.tar.gz nng-01817988f4631bdd8ee5cec9c6b69039712a93fe.tar.bz2 nng-01817988f4631bdd8ee5cec9c6b69039712a93fe.zip | |
Move the rest of the functionality from platform.h into core.
This also deprecates supplemental/util/platform.h.
Diffstat (limited to 'tests/synch.c')
| -rw-r--r-- | tests/synch.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/synch.c b/tests/synch.c index 9174385d..c0bf18c9 100644 --- a/tests/synch.c +++ b/tests/synch.c @@ -1,6 +1,6 @@ // // Copyright 2022 Staysail Systems, Inc. <info@staysail.tech> -// Copyright 2018 Capitar IT Group BV <info@capitar.com> +// Copyright 2024 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -9,7 +9,6 @@ // #include <nng/nng.h> -#include <nng/supplemental/util/platform.h> #include "convey.h" @@ -17,8 +16,8 @@ struct notifyarg { int did; nng_duration when; - nng_mtx * mx; - nng_cv * cv; + nng_mtx *mx; + nng_cv *cv; }; void @@ -34,7 +33,7 @@ notifyafter(void *a) } struct notifyarg arg; -nng_thread * thr; +nng_thread *thr; static void test_sync(void) |
