]> 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:05:35 +0000 (12:05 +1000)
lib/isc/pthreads/include/isc/thread.h

index 2b43f9e5a29fde829e055eaf6c0a5fab433011e9..30b79c9d6118866ff1532671977f75d5ad79eb16 100644 (file)
@@ -31,7 +31,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);
@@ -40,7 +40,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... */