aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2020-07-15 06:12:05 -0700
committerGitHub <noreply@github.com>2020-07-15 08:12:05 -0500
commitea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8 (patch)
tree53568e544548e24ef76ae59055d681e8bd2a90c4 /Python/thread_pthread.h
parentbpo-41302: Fix build with system libmpdec (GH-21481) (diff)
downloadcpython-ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8.tar.gz
cpython-ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8.tar.bz2
cpython-ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8.zip
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 cf4e854d829..e6910b3083a 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;