diff --git a/debian/changelog b/debian/changelog index c2bc8e2..4c009f1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ ocl-icd (2.2.11-ok2) yangtze; urgency=medium - * In the ocl_icd_loader.c file, change the function inline void dump_vendor_icd on line 56 to void dump_vendor_icd + * In the ocl_icd_loader.c file, change the function inline void + dump_vendor_icd on line 56 to static inline void dump_vendor_icd - -- root Wed, 06 Mar 2024 02:45:39 +0000 + -- root Wed, 06 Mar 2024 05:34:58 +0000 ocl-icd (2.2.11-ok1) yangtze; urgency=medium diff --git a/ocl_icd_loader.c b/ocl_icd_loader.c index 9df44f0..f083fa4 100644 --- a/ocl_icd_loader.c +++ b/ocl_icd_loader.c @@ -58,7 +58,7 @@ typedef __typeof__(clGetPlatformInfo) *clGetPlatformInfo_fn; // v, v->num_platforms, v->dl_handle, v->ext_fn_ptr); // } -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); }