Skip to content

Commit cf2174f

Browse files
authored
fix improper function prototypes (empty parentheses)
1 parent 2dba455 commit cf2174f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

driver/others/blas_server_omp.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
int blas_server_avail = 0;
7171
int blas_omp_number_max = 0;
7272

73-
extern int openblas_omp_adaptive_env();
73+
extern int openblas_omp_adaptive_env(void);
7474

7575
static void * blas_thread_buffer[MAX_PARALLEL_NUMBER][MAX_CPU_NUMBER];
7676
#ifdef HAVE_C11
@@ -79,7 +79,7 @@ static atomic_bool blas_buffer_inuse[MAX_PARALLEL_NUMBER];
7979
static _Bool blas_buffer_inuse[MAX_PARALLEL_NUMBER];
8080
#endif
8181

82-
static void adjust_thread_buffers() {
82+
static void adjust_thread_buffers(void) {
8383

8484
int i=0, j=0;
8585

@@ -124,9 +124,9 @@ void openblas_set_num_threads(int num_threads) {
124124
}
125125

126126
int blas_thread_init(void){
127-
if(blas_omp_number_max <= 0)
128-
blas_omp_number_max = omp_get_max_threads();
129-
127+
if(blas_omp_number_max <= 0)
128+
blas_omp_number_max = omp_get_max_threads();
129+
130130
blas_get_cpu_number();
131131

132132
adjust_thread_buffers();

0 commit comments

Comments
 (0)