Commit 6278b549 by Thomas Schwinge Committed by Thomas Schwinge

Make 'libgomp/target.c:gomp_unmap_tgt' 'static' again

This got changed to 'attribute_hidden' in r271128, but it's not actually used
outside of 'libgomp/target.c'.

	libgomp/
	* target.c (gomp_unmap_tgt): Make it 'static'.
	* libgomp.h (gomp_unmap_tgt): Remove.

From-SVN: r279529
parent c80c9e26
2019-12-18 Thomas Schwinge <thomas@codesourcery.com>
* target.c (gomp_unmap_tgt): Make it 'static'.
* libgomp.h (gomp_unmap_tgt): Remove.
2019-12-18 Tobias Burnus <tobias@codesourcery.com> 2019-12-18 Tobias Burnus <tobias@codesourcery.com>
PR middle-end/86416 PR middle-end/86416
......
...@@ -1157,7 +1157,6 @@ extern struct target_mem_desc *gomp_map_vars_async (struct gomp_device_descr *, ...@@ -1157,7 +1157,6 @@ extern struct target_mem_desc *gomp_map_vars_async (struct gomp_device_descr *,
size_t, void **, void **, size_t, void **, void **,
size_t *, void *, bool, size_t *, void *, bool,
enum gomp_map_vars_kind); enum gomp_map_vars_kind);
extern void gomp_unmap_tgt (struct target_mem_desc *);
extern void gomp_unmap_vars (struct target_mem_desc *, bool); extern void gomp_unmap_vars (struct target_mem_desc *, bool);
extern void gomp_unmap_vars_async (struct target_mem_desc *, bool, extern void gomp_unmap_vars_async (struct target_mem_desc *, bool,
struct goacc_asyncqueue *); struct goacc_asyncqueue *);
......
...@@ -1105,7 +1105,7 @@ gomp_map_vars_async (struct gomp_device_descr *devicep, ...@@ -1105,7 +1105,7 @@ gomp_map_vars_async (struct gomp_device_descr *devicep,
sizes, kinds, short_mapkind, pragma_kind); sizes, kinds, short_mapkind, pragma_kind);
} }
attribute_hidden void static void
gomp_unmap_tgt (struct target_mem_desc *tgt) gomp_unmap_tgt (struct target_mem_desc *tgt)
{ {
/* Deallocate on target the tgt->tgt_start .. tgt->tgt_end region. */ /* Deallocate on target the tgt->tgt_start .. tgt->tgt_end region. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment