浏览代码

src/drivers/opencl/driver_opencl_utils.c: turn function static

Nathalie Furmento 13 年之前
父节点
当前提交
0fa97b13b4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/drivers/opencl/driver_opencl_utils.c

+ 1 - 0
src/drivers/opencl/driver_opencl_utils.c

@@ -350,6 +350,7 @@ void starpu_opencl_load_program_source(const char *source_file_name, char *locat
 	sprintf(opencl_program_source, "%s", source);
 	sprintf(opencl_program_source, "%s", source);
 }
 }
 
 
+static
 int _starpu_opencl_compile_or_load_opencl_from_file(const char *source_file_name, struct starpu_opencl_program *opencl_programs, const char* build_options)
 int _starpu_opencl_compile_or_load_opencl_from_file(const char *source_file_name, struct starpu_opencl_program *opencl_programs, const char* build_options)
 {
 {
 	int nb_devices;
 	int nb_devices;