]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libgomp/84096 (Wrong prototype for omp_init_nest_lock_with_hint() in "omp.h...
authorChristoph Spiel <cspiel@freenet.de>
Mon, 29 Jan 2018 23:38:01 +0000 (23:38 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 29 Jan 2018 23:38:01 +0000 (00:38 +0100)
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 <jakub@redhat.com>
From-SVN: r257167

libgomp/ChangeLog
libgomp/omp.h.in

index a7bbcebf5174858de7b8bba9f6c5be7ec8b014be..da740742d9a4a76d6e299447663af5491baf4399 100644 (file)
@@ -1,3 +1,10 @@
+2018-01-29  Christoph Spiel  <cspiel@freenet.de>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       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  <tom@codesourcery.com>
 
        PR target/84028
index 2638a78b6054d8a32c8236749266ad5c27f598fc..654a4d5f42b3cceecb66342fb7923c8067d3215e 100644 (file)
@@ -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;