Skip to content

Commit

Permalink
fix improper function prototypes (empty parentheses)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Sep 30, 2023
1 parent 13ba4ed commit 675cd55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kernel/x86_64/ddot.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static int dot_thread_function(BLASLONG n, BLASLONG dummy0,

extern int blas_level1_thread_with_return_value(int mode, BLASLONG m, BLASLONG n,
BLASLONG k, void *alpha, void *a, BLASLONG lda, void *b, BLASLONG ldb,
void *c, BLASLONG ldc, int (*function)(), int nthreads);
void *c, BLASLONG ldc, int (*function)(void), int nthreads);
#endif

FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
Expand Down
2 changes: 1 addition & 1 deletion kernel/x86_64/drot.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static int rot_thread_function(blas_arg_t *args)
return 0;
}

extern int blas_level1_thread(int mode, BLASLONG m, BLASLONG n, BLASLONG k, void *alpha, void *a, BLASLONG lda, void *b, BLASLONG ldb, void *c, BLASLONG ldc, int (*function)(), int nthreads);
extern int blas_level1_thread(int mode, BLASLONG m, BLASLONG n, BLASLONG k, void *alpha, void *a, BLASLONG lda, void *b, BLASLONG ldb, void *c, BLASLONG ldc, int (*function)(void), int nthreads);
#endif
int CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y, FLOAT c, FLOAT s)
{
Expand Down
2 changes: 1 addition & 1 deletion kernel/x86_64/srot.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static int rot_thread_function(blas_arg_t *args)
return 0;
}

extern int blas_level1_thread(int mode, BLASLONG m, BLASLONG n, BLASLONG k, void *alpha, void *a, BLASLONG lda, void *b, BLASLONG ldb, void *c, BLASLONG ldc, int (*function)(), int nthreads);
extern int blas_level1_thread(int mode, BLASLONG m, BLASLONG n, BLASLONG k, void *alpha, void *a, BLASLONG lda, void *b, BLASLONG ldb, void *c, BLASLONG ldc, int (*function)(void), int nthreads);
#endif
int CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y, FLOAT c, FLOAT s)
{
Expand Down
2 changes: 1 addition & 1 deletion kernel/x86_64/zdot.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static void zdot_kernel_8(BLASLONG n, FLOAT *x, FLOAT *y, FLOAT *d)
#if defined(SMP)
extern int blas_level1_thread_with_return_value(int mode, BLASLONG m, BLASLONG n,
BLASLONG k, void *alpha, void *a, BLASLONG lda, void *b, BLASLONG ldb,
void *c, BLASLONG ldc, int (*function)(), int nthreads);
void *c, BLASLONG ldc, int (*function)(void), int nthreads);
#endif


Expand Down

0 comments on commit 675cd55

Please sign in to comment.