Skip to content

Commit 05abf2a

Browse files
Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)
(cherry picked from commit ea62a4b) Co-authored-by: Benjamin Peterson <[email protected]>
1 parent c554795 commit 05abf2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/thread_pthread.h

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

132132
static void
133-
init_condattr()
133+
init_condattr(void)
134134
{
135135
#ifdef CONDATTR_MONOTONIC
136136
static pthread_condattr_t ca;

0 commit comments

Comments
 (0)