From feaf7fa16503d5cda91a2b9e8a717969494fce8a Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 22 Jun 2022 18:41:49 +0200 Subject: [PATCH] Set visibility of internal symbols to hidden --- driver/level2/tpsv_U.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/driver/level2/tpsv_U.c b/driver/level2/tpsv_U.c index 763ea07b1..a0cfa8f6a 100644 --- a/driver/level2/tpsv_U.c +++ b/driver/level2/tpsv_U.c @@ -40,7 +40,11 @@ #include #include "common.h" -int CNAME(BLASLONG m, FLOAT *a, FLOAT *b, BLASLONG incb, void *buffer){ +int +#ifndef C_MSVC +__attribute__((visibility("hidden"))) +#endif + CNAME(BLASLONG m, FLOAT *a, FLOAT *b, BLASLONG incb, void *buffer){ BLASLONG i; FLOAT *B = b;