summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-07-15 19:04:59 (GMT)
committerGitHub <noreply@github.com>2020-07-15 19:04:59 (GMT)
commit05abf2a61c4b9b1fd1cc7a152ca17bee1f5c8166 (patch)
treeb755d33b66c5bf967503e0ec8f158f262a3dc4c9 /Python/thread_pthread.h
parentc55479556db015f48fc8bbca17f64d3e65598559 (diff)
downloadcpython-05abf2a61c4b9b1fd1cc7a152ca17bee1f5c8166.zip
cpython-05abf2a61c4b9b1fd1cc7a152ca17bee1f5c8166.tar.gz
cpython-05abf2a61c4b9b1fd1cc7a152ca17bee1f5c8166.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>
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 5678b05..78b99a7 100644
--- a/Python/thread_pthread.h
+++ b/Python/thread_pthread.h
@@ -130,7 +130,7 @@ do { \
static pthread_condattr_t *condattr_monotonic = NULL;
static void
-init_condattr()
+init_condattr(void)
{
#ifdef CONDATTR_MONOTONIC
static pthread_condattr_t ca;