]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)
authorBenjamin Peterson <benjamin@python.org>
Wed, 15 Jul 2020 13:12:05 +0000 (06:12 -0700)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2020 13:12:05 +0000 (08:12 -0500)
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;