From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 15 Jul 2020 19:04:59 +0000 (-0700) Subject: Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477) X-Git-Tag: v3.8.5~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05abf2a61c4b9b1fd1cc7a152ca17bee1f5c8166;p=thirdparty%2FPython%2Fcpython.git Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477) (cherry picked from commit ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8) Co-authored-by: Benjamin Peterson --- diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 5678b05ced36..78b99a77206c 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;