From fbf76ff625c15100112b710b2b6b3cd1459dc4dc Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 15 Jul 2020 06:12:05 -0700 Subject: [PATCH] Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477) (cherry picked from commit ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8) Co-authored-by: Benjamin Peterson --- Python/thread_pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 5678b05ced3698e..78b99a77206c948 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -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;