From 1a52cbf9ead12bbb2fe4d91272a113e9b6ce68f7 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 22 Jun 2022 18:43:30 +0200 Subject: [PATCH] Set visibility of internal symbols to hidden --- driver/level2/tpmv_thread.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/driver/level2/tpmv_thread.c b/driver/level2/tpmv_thread.c index a077591a5..c542f08b6 100644 --- a/driver/level2/tpmv_thread.c +++ b/driver/level2/tpmv_thread.c @@ -234,7 +234,11 @@ static int tpmv_kernel(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, F return 0; } -int CNAME(BLASLONG m, FLOAT *a, FLOAT *x, BLASLONG incx, FLOAT *buffer, int nthreads){ +int +#ifndef C_MSVC +__attribute__((visibility("hidden"))) +#endif + CNAME(BLASLONG m, FLOAT *a, FLOAT *x, BLASLONG incx, FLOAT *buffer, int nthreads){ blas_arg_t args; blas_queue_t queue[MAX_CPU_NUMBER];