Skip to content

Commit 7cbdf5a

Browse files
benjaminpmiss-islington
authored andcommitted
Fix -Wstrict-prototypes warning in thread_pthread.h. (pythonGH-21477)
(cherry picked from commit ea62a4b) Co-authored-by: Benjamin Peterson <benjamin@python.org>
1 parent 8ca63f9 commit 7cbdf5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Python/thread_pthread.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ do { \
134134
static pthread_condattr_t *condattr_monotonic = NULL;
135135

136136
static void
137-
init_condattr()
137+
init_condattr(void)
138138
{
139139
#ifdef CONDATTR_MONOTONIC
140140
static pthread_condattr_t ca;

0 commit comments

Comments
 (0)