Set visibility of internal symbols to hidden

This commit is contained in:
Martin Kroeker 2022-06-22 14:46:32 +02:00 committed by GitHub
parent edd50d54cf
commit 3371bd85a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -40,7 +40,11 @@
#include <ctype.h> #include <ctype.h>
#include "common.h" #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; BLASLONG i;
#if (TRANSA == 2) || (TRANSA == 4) #if (TRANSA == 2) || (TRANSA == 4)