]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
'name' should be on isc_thread_setname argument not isc_thread_create
authorMark Andrews <marka@isc.org>
Mon, 26 Jun 2017 02:05:35 +0000 (12:05 +1000)
committerMark Andrews <marka@isc.org>
Mon, 26 Jun 2017 02:42:51 +0000 (12:42 +1000)
(cherry picked from commit 15471a63a24538f871541e36b320f3c4d4be8f1e)

lib/isc/pthreads/include/isc/thread.h

index 0a4f5a6f1382383bcd7de7d33779fe920797bb7e..c2d046b6ece0be15d1f51de4193c84e932501fd2 100644 (file)
@@ -40,7 +40,7 @@ typedef isc_threadresult_t (*isc_threadfunc_t)(isc_threadarg_t);
 typedef pthread_key_t isc_thread_key_t;
 
 isc_result_t
-isc_thread_create(isc_threadfunc_t, isc_threadarg_t, isc_thread_t *name);
+isc_thread_create(isc_threadfunc_t, isc_threadarg_t, isc_thread_t *);
 
 void
 isc_thread_setconcurrency(unsigned int level);
@@ -49,7 +49,7 @@ void
 isc_thread_yield(void);
 
 void
-isc_thread_setname(isc_thread_t thread, const char *);
+isc_thread_setname(isc_thread_t thread, const char *name);
 
 /* XXX We could do fancier error handling... */