]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_10] fix portability issue
authorEvan Hunt <each@isc.org>
Sat, 22 Apr 2017 01:16:24 +0000 (18:16 -0700)
committerEvan Hunt <each@isc.org>
Sat, 22 Apr 2017 01:16:24 +0000 (18:16 -0700)
(cherry picked from commit 8ee6a6afd8afa5454afb297024c3045f16b7bf02)

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

index 8aa63172f6f921e941558c49b45490b676f6bc78..6399d7ec9d754a303c912c6dbf3074a7819b3ae4 100644 (file)
@@ -29,7 +29,7 @@ void
 isc_thread_setconcurrency(unsigned int level);
 
 void
-isc_thread_setname(isc_thread_t, const char *);
+isc_thread_setname(isc_thread_t thread, const char *name);
 
 #define isc_thread_self() ((unsigned long)0)
 #define isc_thread_yield() ((void)0)
index 86473e435b6c3fd328492747a306c8d06470a266..c2c34fecc04f4f286e58b305a36dce15294c90ad 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 *);
+isc_thread_create(isc_threadfunc_t, isc_threadarg_t, isc_thread_t *name);
 
 void
 isc_thread_setconcurrency(unsigned int level);
@@ -49,7 +49,7 @@ void
 isc_thread_yield(void);
 
 void
-isc_thread_setname(isc_thread_t, const char *);
+isc_thread_setname(isc_thread_t thread, const char *);
 
 /* XXX We could do fancier error handling... */