summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2020-07-15 13:12:05 (GMT)
committerGitHub <noreply@github.com>2020-07-15 13:12:05 (GMT)
commitea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8 (patch)
tree53568e544548e24ef76ae59055d681e8bd2a90c4 /Python/thread_pthread.h
parent015efdbef7454a522e88cd79ba2b4cd77a5fb2a2 (diff)
downloadcpython-ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8.zip
cpython-ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8.tar.gz
cpython-ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8.tar.bz2
Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)
Diffstat (limited to 'Python/thread_pthread.h')
-rw-r--r--Python/thread_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index cf4e854..e6910b3 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;