From 92ab6b83cdedc8e90dae97c013e1c7a824630a31 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 28 Jan 2019 06:35:41 +0000 Subject: [PATCH] libgfortran: Use proper gthr.h API libgfortran/ * io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION(). From-SVN: r268331 --- libgfortran/ChangeLog | 4 ++++ libgfortran/io/async.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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, -- 2.30.2