1
0
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:
Aris Adamantiadis
2010-09-30 11:10:08 +02:00
parent bedc65313f
commit 5b1c985a0e
4 changed files with 26 additions and 5 deletions

View File

@@ -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