Set visibility of internal symbols to hidden

This commit is contained in:
Martin Kroeker 2022-06-22 18:38:45 +02:00 committed by GitHub
parent 442e53b7df
commit e0a1724410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -273,9 +273,17 @@ static int trmv_kernel(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, F
} }
#ifndef COMPLEX #ifndef COMPLEX
int CNAME(BLASLONG m, FLOAT *a, BLASLONG lda, FLOAT *x, BLASLONG incx, FLOAT *buffer, int nthreads){ int
#ifndef C_MSVC
__attribute__((visibility("hidden")))
#endif
CNAME(BLASLONG m, FLOAT *a, BLASLONG lda, FLOAT *x, BLASLONG incx, FLOAT *buffer, int nthreads){
#else #else
int CNAME(BLASLONG m, FLOAT *a, BLASLONG lda, FLOAT *x, BLASLONG incx, FLOAT *buffer, int nthreads){ int
#ifndef C_MSVC
__attribute__((visibility("hidden")))
#endif
CNAME(BLASLONG m, FLOAT *a, BLASLONG lda, FLOAT *x, BLASLONG incx, FLOAT *buffer, int nthreads){
#endif #endif
blas_arg_t args; blas_arg_t args;