]> 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 13:30:26 +0000 (06:30 -0700)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2020 13:30:26 +0000 (06:30 -0700)
(cherry picked from commit ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8)

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

index cf4e854d829cb5faa08e5849b1930f8c2dd8ade1..e6910b3083a892042f6bc656cc69dde37fc0709f 100644 (file)
@@ -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;