summaryrefslogtreecommitdiffstats
path: root/test/asynctest.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2018-05-09 17:09:50 +0200
committerKurt Roeckx <kurt@roeckx.be>2018-05-11 14:37:48 +0200
commit3cb7c5cfef25463bd197b0c12ca7966f525ebf73 (patch)
treee48a48cfd6aa0a3492cf6aec22de0e70f7284577 /test/asynctest.c
parentd4a8ba77a4004b40890c4a9700ba959fd26af170 (diff)
Use void in all function definitions that do not take any arguments
Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #6208
Diffstat (limited to 'test/asynctest.c')
-rw-r--r--test/asynctest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/asynctest.c b/test/asynctest.c
index eef3c3214c..c2740e6e8f 100644
--- a/test/asynctest.c
+++ b/test/asynctest.c
@@ -87,7 +87,7 @@ static int blockpause(void *args)
return 1;
}
-static int test_ASYNC_init_thread()
+static int test_ASYNC_init_thread(void)
{
ASYNC_JOB *job1 = NULL, *job2 = NULL, *job3 = NULL;
int funcret1, funcret2, funcret3;
@@ -123,7 +123,7 @@ static int test_ASYNC_init_thread()
return 1;
}
-static int test_ASYNC_start_job()
+static int test_ASYNC_start_job(void)
{
ASYNC_JOB *job = NULL;
int funcret;
@@ -151,7 +151,7 @@ static int test_ASYNC_start_job()
return 1;
}
-static int test_ASYNC_get_current_job()
+static int test_ASYNC_get_current_job(void)
{
ASYNC_JOB *job = NULL;
int funcret;
@@ -178,7 +178,7 @@ static int test_ASYNC_get_current_job()
return 1;
}
-static int test_ASYNC_WAIT_CTX_get_all_fds()
+static int test_ASYNC_WAIT_CTX_get_all_fds(void)
{
ASYNC_JOB *job = NULL;
int funcret;
@@ -245,7 +245,7 @@ static int test_ASYNC_WAIT_CTX_get_all_fds()
return 1;
}
-static int test_ASYNC_block_pause()
+static int test_ASYNC_block_pause(void)
{
ASYNC_JOB *job = NULL;
int funcret;