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

View file

@ -134,7 +134,7 @@ do { \
static pthread_condattr_t *condattr_monotonic = NULL; static pthread_condattr_t *condattr_monotonic = NULL;
static void static void
init_condattr() init_condattr(void)
{ {
#ifdef CONDATTR_MONOTONIC #ifdef CONDATTR_MONOTONIC
static pthread_condattr_t ca; static pthread_condattr_t ca;