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:
Miss Islington (bot) 2020-07-15 12:04:59 -07:00 committed by GitHub
parent c55479556d
commit 05abf2a61c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ do { \
static pthread_condattr_t *condattr_monotonic = NULL; static pthread_condattr_t *condattr_monotonic = NULL;
static void static void
init_condattr() init_condattr(void)
{ {
#ifdef CONDATTR_MONOTONIC #ifdef CONDATTR_MONOTONIC
static pthread_condattr_t ca; static pthread_condattr_t ca;