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
8ca63f95f7
commit
f2f6759a78
|
@ -134,7 +134,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