Skip to content

Commit e2d941e

Browse files
authored
Declare the "small" kernel static in addition to inline
1 parent 8214700 commit e2d941e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/riscv64/zdot_vector.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6969
#endif
7070

7171
#if !defined(DOUBLE)
72-
inline OPENBLAS_COMPLEX_FLOAT small_cdot_kernel(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
72+
static inline OPENBLAS_COMPLEX_FLOAT small_cdot_kernel(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
7373
#else
74-
inline OPENBLAS_COMPLEX_FLOAT small_zdot_kernel(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
74+
static inline OPENBLAS_COMPLEX_FLOAT small_zdot_kernel(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
7575
#endif
7676
{
7777
BLASLONG i=0;
@@ -200,4 +200,4 @@ if(n < 8) {
200200
CREAL(result) = dot[0];
201201
CIMAG(result) = dot[1];
202202
return(result);
203-
}
203+
}

0 commit comments

Comments
 (0)