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) {
126126int blas_thread_init (void ){
127127
128128#if defined(__FreeBSD__ ) && defined(__clang__ )
129- extern int openblas_omp_num_threads_env ();
129+ extern int openblas_omp_num_threads_env (void );
130130
131131 if (blas_omp_number_max <= 0 )
132132 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;
1313
1414#define NUM_CORETYPES 4
1515
16- extern int openblas_verbose ();
16+ extern int openblas_verbose (void );
1717extern void openblas_warning (int verbose , const char * msg );
1818
1919char * gotoblas_corename (void ) {
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ int goto_get_num_procs (void) {
288288 return blas_cpu_number ;
289289}
290290
291- void openblas_fork_handler ()
291+ void openblas_fork_handler (void )
292292{
293293 // This handler shuts down the OpenBLAS-managed PTHREAD pool when OpenBLAS is
294294 // built with "make USE_OPENMP=0".
@@ -305,9 +305,9 @@ void openblas_fork_handler()
305305#endif
306306}
307307
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 );
311311
312312int blas_get_cpu_number (void ){
313313#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