From 99ae7ce5cacf152b566525cd1e8bdc7d5c0e0d09 Mon Sep 17 00:00:00 2001 From: Christoph Spiel Date: Mon, 29 Jan 2018 23:38:01 +0000 Subject: [PATCH] re PR libgomp/84096 (Wrong prototype for omp_init_nest_lock_with_hint() in "omp.h.in") PR libgomp/84096 * omp.h.in (omp_init_nest_lock_with_hint): Use omp_nest_lock_t instead of omp_lock_t. Co-Authored-By: Jakub Jelinek From-SVN: r257167 --- libgomp/ChangeLog | 7 +++++++ libgomp/omp.h.in | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index a7bbcebf517..da740742d9a 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,10 @@ +2018-01-29 Christoph Spiel + Jakub Jelinek + + PR libgomp/84096 + * omp.h.in (omp_init_nest_lock_with_hint): Use omp_nest_lock_t + instead of omp_lock_t. + 2018-01-25 Tom de Vries PR target/84028 diff --git a/libgomp/omp.h.in b/libgomp/omp.h.in index 2638a78b605..654a4d5f42b 100644 --- a/libgomp/omp.h.in +++ b/libgomp/omp.h.in @@ -101,7 +101,7 @@ extern void omp_unset_lock (omp_lock_t *) __GOMP_NOTHROW; extern int omp_test_lock (omp_lock_t *) __GOMP_NOTHROW; extern void omp_init_nest_lock (omp_nest_lock_t *) __GOMP_NOTHROW; -extern void omp_init_nest_lock_with_hint (omp_lock_t *, omp_lock_hint_t) +extern void omp_init_nest_lock_with_hint (omp_nest_lock_t *, omp_lock_hint_t) __GOMP_NOTHROW; extern void omp_destroy_nest_lock (omp_nest_lock_t *) __GOMP_NOTHROW; extern void omp_set_nest_lock (omp_nest_lock_t *) __GOMP_NOTHROW; -- 2.30.2