aboutsummaryrefslogtreecommitdiff
path: root/libgomp/plugin
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2017-02-02 15:35:30 +0100
committerThomas Schwinge <tschwinge@gcc.gnu.org>2017-02-02 15:35:30 +0100
commite70ab10d5c8559d072f2a94374ee530fafdf3aef (patch)
tree4d9c74f390b472d288adc4f5042cc6b777cc5d54 /libgomp/plugin
parent345a8c1712df339941e1b61425f0aa02e55ed364 (diff)
downloadgcc-e70ab10d5c8559d072f2a94374ee530fafdf3aef.zip
gcc-e70ab10d5c8559d072f2a94374ee530fafdf3aef.tar.gz
gcc-e70ab10d5c8559d072f2a94374ee530fafdf3aef.tar.bz2
libgomp, nvptx plugin: Make "nvptx_exec" static
libgomp/ * plugin/plugin-nvptx.c (nvptx_exec): Make it static. From-SVN: r245127
Diffstat (limited to 'libgomp/plugin')
-rw-r--r--libgomp/plugin/plugin-nvptx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/plugin/plugin-nvptx.c b/libgomp/plugin/plugin-nvptx.c
index 0284c7f..36d447c 100644
--- a/libgomp/plugin/plugin-nvptx.c
+++ b/libgomp/plugin/plugin-nvptx.c
@@ -1041,7 +1041,7 @@ event_add (enum ptx_event_type type, CUevent *e, void *h, int val)
pthread_mutex_unlock (&ptx_event_lock);
}
-void
+static void
nvptx_exec (void (*fn), size_t mapnum, void **hostaddrs, void **devaddrs,
int async, unsigned *dims, void *targ_mem_desc)
{