mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-02 01:17:52 +03:00
Changed the threads cbks from struct to publ func
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user