Skip to content

Commit

Permalink
tests: void instead of empty parameter list
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 1, 2024
1 parent d0d48ca commit ec714f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/init_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -167,7 +167,7 @@ concurrent_init(void *arg)
}

void
test_init_concurrent()
test_init_concurrent(void)
{
nng_thread *threads[4];
nng_mtx *m = NULL;
Expand Down

0 comments on commit ec714f0

Please sign in to comment.