From 461575e7388064dbc06eed3e17b094655f046b6c Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Tue, 23 Apr 2013 20:33:07 -0800 Subject: Removing a slew of code still compiled with gcc and the need for a bunch of external C linkage [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15912] --- libopencl/opencl_runtime_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libopencl/opencl_runtime_api.cc') diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc index 07cab56..bb350bd 100644 --- a/libopencl/opencl_runtime_api.cc +++ b/libopencl/opencl_runtime_api.cc @@ -415,7 +415,7 @@ void register_ptx_function( const char *name, function_info *impl ) sg_info->m_kernels[name] = impl; } -extern "C" void ptxinfo_addinfo() + void ptxinfo_addinfo() { ptxinfo_opencl_addinfo( sg_info->m_kernels ); } -- cgit v1.3