aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-01 07:06:38 -0500
committerGarrett D'Amore <garrett@damore.org>2024-12-01 07:06:38 -0500
commitec714f06594269b671a6f484106259854b6a99b6 (patch)
tree1722303d6cd16cd3fd3b2697ed85a74fd6fc5441 /src/core
parentd0d48cad89532c56742d85e898f749e587fe32b7 (diff)
downloadnng-ec714f06594269b671a6f484106259854b6a99b6.tar.gz
nng-ec714f06594269b671a6f484106259854b6a99b6.tar.bz2
nng-ec714f06594269b671a6f484106259854b6a99b6.zip
tests: void instead of empty parameter list
Diffstat (limited to 'src/core')
-rw-r--r--src/core/init_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/init_test.c b/src/core/init_test.c
index fcabdd88..c891ba8e 100644
--- a/src/core/init_test.c
+++ b/src/core/init_test.c
@@ -142,7 +142,7 @@ test_init_too_many_poller_threads(void)
}
void
-test_init_repeated()
+test_init_repeated(void)
{
nng_init_params p = { 0 };
NUTS_PASS(nng_init(NULL));
@@ -167,7 +167,7 @@ concurrent_init(void *arg)
}
void
-test_init_concurrent()
+test_init_concurrent(void)
{
nng_thread *threads[4];
nng_mtx *m = NULL;