diff options
Diffstat (limited to 'src/threads.c')
-rw-r--r-- | src/threads.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/threads.c b/src/threads.c index 60d5dee5..db7c216c 100644 --- a/src/threads.c +++ b/src/threads.c @@ -39,7 +39,7 @@ static unsigned long threads_id_noop (void){ return 1; } -struct ssh_threads_callbacks_struct ssh_threads_noop = +static struct ssh_threads_callbacks_struct ssh_threads_noop = { "threads_noop", threads_noop, @@ -49,6 +49,10 @@ struct ssh_threads_callbacks_struct ssh_threads_noop = threads_id_noop }; +struct ssh_threads_callbacks_struct *ssh_threads_get_noop(){ + return &ssh_threads_noop; +} + static struct ssh_threads_callbacks_struct *user_callbacks =&ssh_threads_noop; #ifdef HAVE_LIBGCRYPT |