From: Sebastian Huber Date: Mon, 28 Jan 2019 06:35:41 +0000 (+0000) Subject: libgfortran: Use proper gthr.h API X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92ab6b83cdedc8e90dae97c013e1c7a824630a31;p=gcc.git libgfortran: Use proper gthr.h API libgfortran/ * io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION(). From-SVN: r268331 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index f1e43311206..2a604a5959c 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2019-01-28 Sebastian Huber + + * io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION(). + 2019-01-27 Jerry DeLisle PR libfortran/89020 diff --git a/libgfortran/io/async.c b/libgfortran/io/async.c index 3394e595a8b..e3d1d01122e 100644 --- a/libgfortran/io/async.c +++ b/libgfortran/io/async.c @@ -224,7 +224,7 @@ init_adv_cond (struct adv_cond *ac) { ac->pending = 0; __GTHREAD_MUTEX_INIT_FUNCTION (&ac->lock); - __gthread_cond_init_function (&ac->signal); + __GTHREAD_COND_INIT_FUNCTION (&ac->signal); } /* Initialize an asyncronous unit, returning zero on success,