From 467d78a442a0b3cea20f7fefadf9fa4b5119b1fe Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 21 Mar 2018 20:41:16 +0100 Subject: [PATCH] tests: Fix mixed code compiler warning in torture_rand Signed-off-by: Andreas Schneider --- tests/unittests/torture_rand.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unittests/torture_rand.c b/tests/unittests/torture_rand.c index 6e666dfb..68320bca 100644 --- a/tests/unittests/torture_rand.c +++ b/tests/unittests/torture_rand.c @@ -16,9 +16,10 @@ #define NUM_THREADS 100 static int setup(void **state) { - (void) state; int rc; + (void) state; + ssh_threads_set_callbacks(ssh_threads_get_pthread()); rc = ssh_init(); if (rc != SSH_OK) {