File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ void openblas_set_num_threads(int num_threads) {
126
126
int blas_thread_init (void ){
127
127
128
128
#if defined(__FreeBSD__ ) && defined(__clang__ )
129
- extern int openblas_omp_num_threads_env ();
129
+ extern int openblas_omp_num_threads_env (void );
130
130
131
131
if (blas_omp_number_max <= 0 )
132
132
blas_omp_number_max = openblas_omp_num_threads_env ();
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ extern gotoblas_t gotoblas_Z14;
13
13
14
14
#define NUM_CORETYPES 4
15
15
16
- extern int openblas_verbose ();
16
+ extern int openblas_verbose (void );
17
17
extern void openblas_warning (int verbose , const char * msg );
18
18
19
19
char * gotoblas_corename (void ) {
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ int goto_get_num_procs (void) {
288
288
return blas_cpu_number ;
289
289
}
290
290
291
- void openblas_fork_handler ()
291
+ void openblas_fork_handler (void )
292
292
{
293
293
// This handler shuts down the OpenBLAS-managed PTHREAD pool when OpenBLAS is
294
294
// built with "make USE_OPENMP=0".
@@ -305,9 +305,9 @@ void openblas_fork_handler()
305
305
#endif
306
306
}
307
307
308
- extern int openblas_num_threads_env ();
309
- extern int openblas_goto_num_threads_env ();
310
- extern int openblas_omp_num_threads_env ();
308
+ extern int openblas_num_threads_env (void );
309
+ extern int openblas_goto_num_threads_env (void );
310
+ extern int openblas_omp_num_threads_env (void );
311
311
312
312
int blas_get_cpu_number (void ){
313
313
#if defined(OS_LINUX ) || defined(OS_WINDOWS ) || defined(OS_FREEBSD ) || defined(OS_OPENBSD ) || defined(OS_NETBSD ) || defined(OS_DRAGONFLY ) || defined(OS_DARWIN ) || defined(OS_ANDROID )
You can’t perform that action at this time.
0 commit comments