From 2cc95e1e088553a94b0a8e07c458b1bc0a60d9b1 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 17 Sep 2011 21:32:08 +0200 Subject: [PATCH] doc: Fix threading documentation. --- doc/threading.dox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/threading.dox b/doc/threading.dox index 4860f54b..a11c82f7 100644 --- a/doc/threading.dox +++ b/doc/threading.dox @@ -25,7 +25,7 @@ use, using ssh_threads_set_callbacks(), then call ssh_init(). @code #include ... -ssh_threads_set_callbacks(ssh_threads_noop); +ssh_threads_set_callbacks(ssh_threads_get_noop()); ssh_init(); @endcode @@ -40,7 +40,7 @@ threading backend: @code #include ... -ssh_threads_set_callbacks(ssh_threads_pthread); +ssh_threads_set_callbacks(ssh_threads_get_pthread()); ssh_init(); @endcode