From 35f8ccb87d9fc8595ff6c1e93bf40e9b8aba4689 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 22 Jun 2022 18:42:31 +0200 Subject: [PATCH] Set visibility of internal symbols to hidden --- driver/level2/tpsv_L.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/driver/level2/tpsv_L.c b/driver/level2/tpsv_L.c index 7baf5b73e..b0df229a7 100644 --- a/driver/level2/tpsv_L.c +++ b/driver/level2/tpsv_L.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;