]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 15 Jul 2020 19:04:59 +0000 (12:04 -0700)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2020 19:04:59 +0000 (12:04 -0700)
(cherry picked from commit ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Python/thread_pthread.h

index 5678b05ced3698e973c6ae01e3e6eafa295056e7..78b99a77206c9485a04fce70ec205df55a76e702 100644 (file)
@@ -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;