From: Benjamin Peterson Date: Wed, 15 Jul 2020 13:12:05 +0000 (-0700) Subject: Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477) X-Git-Tag: v3.10.0a1~391 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8;p=thirdparty%2FPython%2Fcpython.git Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477) --- diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index cf4e854d829c..e6910b3083a8 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -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;