Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)
(cherry picked from commit ea62a4bd54
)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
This commit is contained in:
parent
c55479556d
commit
05abf2a61c
|
@ -130,7 +130,7 @@ do { \
|
|||
static pthread_condattr_t *condattr_monotonic = NULL;
|
||||
|
||||
static void
|
||||
init_condattr()
|
||||
init_condattr(void)
|
||||
{
|
||||
#ifdef CONDATTR_MONOTONIC
|
||||
static pthread_condattr_t ca;
|
||||
|
|
Loading…
Reference in New Issue