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

This commit is contained in:
Benjamin Peterson 2020-07-15 06:12:05 -07:00 committed by GitHub
parent 015efdbef7
commit ea62a4bd54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;