Skip to content

Commit e7afed3

Browse files
committed
Fixed usage of HAS_ATTRIBUTE_WEAK_SUPPORT. Formatted cblas_f77.h
1 parent ca40397 commit e7afed3

File tree

3 files changed

+920
-887
lines changed

3 files changed

+920
-887
lines changed

CBLAS/include/cblas.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,11 @@ void cblas_zher2k(CBLAS_LAYOUT layout, CBLAS_UPLO Uplo,
608608
const void *B, const CBLAS_INT ldb, const double beta,
609609
void *C, const CBLAS_INT ldc);
610610

611-
void cblas_xerbla(CBLAS_INT p, const char *rout, const char *form, ...);
611+
void
612+
#ifdef HAS_ATTRIBUTE_WEAK_SUPPORT
613+
__attribute__((weak))
614+
#endif
615+
cblas_xerbla(CBLAS_INT p, const char *rout, const char *form, ...);
612616

613617
#ifdef __cplusplus
614618
}

0 commit comments

Comments
 (0)