From 3371bd85a30f529925026fca394c3f02962f5a1c Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 22 Jun 2022 14:46:32 +0200 Subject: [PATCH] Set visibility of internal symbols to hidden --- driver/level2/ztpsv_U.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/driver/level2/ztpsv_U.c b/driver/level2/ztpsv_U.c index fa9d99054..1059bdeb0 100644 --- a/driver/level2/ztpsv_U.c +++ b/driver/level2/ztpsv_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; #if (TRANSA == 2) || (TRANSA == 4)