summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-07-15 13:30:26 (GMT)
committerGitHub <noreply@github.com>2020-07-15 13:30:26 (GMT)
commitf2f6759a78d3e91e4bd8b73408fe42f2f3dbb725 (patch)
treeaddf0433a7456c58d866731491844bbf3af74a86
parent8ca63f95f769c31f65a996fe065ff6dcfb490bbe (diff)
downloadcpython-f2f6759a78d3e91e4bd8b73408fe42f2f3dbb725.zip
cpython-f2f6759a78d3e91e4bd8b73408fe42f2f3dbb725.tar.gz
cpython-f2f6759a78d3e91e4bd8b73408fe42f2f3dbb725.tar.bz2
Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)
(cherry picked from commit ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8) Co-authored-by: Benjamin Peterson <benjamin@python.org>
-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;