1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/opencl-icd-loader/ocl_icd_loader.c.patch
2019-01-01 10:11:18 +00:00

12 lines
464 B
Diff

--- a/ocl_icd_loader.c.orig 2017-01-19 13:55:12 UTC
+++ b/ocl_icd_loader.c
@@ -53,7 +53,7 @@ int debug_ocl_icd_mask=0;
typedef __typeof__(clGetPlatformInfo) *clGetPlatformInfo_fn;
-inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) {
+static inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) {
debug(D_DUMP, "%s %p={ num=%i, handle=%p, f=%p}\n", info,
v, v->num_platforms, v->dl_handle, v->ext_fn_ptr);
}