From: Evan Hunt Date: Sat, 22 Apr 2017 01:16:00 +0000 (-0700) Subject: [master] fix portability issue X-Git-Tag: v9.12.0a1~357 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ee6a6afd8afa5454afb297024c3045f16b7bf02;p=thirdparty%2Fbind9.git [master] fix portability issue --- diff --git a/lib/isc/nothreads/include/isc/thread.h b/lib/isc/nothreads/include/isc/thread.h index be5abd81a2a..6a0a944f8e2 100644 --- a/lib/isc/nothreads/include/isc/thread.h +++ b/lib/isc/nothreads/include/isc/thread.h @@ -20,7 +20,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) diff --git a/lib/isc/pthreads/include/isc/thread.h b/lib/isc/pthreads/include/isc/thread.h index 09b400075ec..2b43f9e5a29 100644 --- a/lib/isc/pthreads/include/isc/thread.h +++ b/lib/isc/pthreads/include/isc/thread.h @@ -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 *); +isc_thread_create(isc_threadfunc_t, isc_threadarg_t, isc_thread_t *name); void isc_thread_setconcurrency(unsigned int level); @@ -40,7 +40,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... */