[Python-checkins] Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)

Miss Islington (bot) webhook-mailer at python.org
Wed Jul 15 15:05:16 EDT 2020


https://github.com/python/cpython/commit/05abf2a61c4b9b1fd1cc7a152ca17bee1f5c8166
commit: 05abf2a61c4b9b1fd1cc7a152ca17bee1f5c8166
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-07-15T12:04:59-07:00
summary:

Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)

(cherry picked from commit ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8)

Co-authored-by: Benjamin Peterson <benjamin at python.org>

files:
M Python/thread_pthread.h

diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index 5678b05ced369..78b99a77206c9 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;



More information about the Python-checkins mailing list