@@ -427,9 +427,9 @@ int goto_get_num_procs (void) {
427427 return blas_cpu_number ;
428428}
429429
430- static void blas_memory_init ();
430+ static void blas_memory_init (void );
431431
432- void openblas_fork_handler ()
432+ void openblas_fork_handler (void )
433433{
434434 // This handler shuts down the OpenBLAS-managed PTHREAD pool when OpenBLAS is
435435 // built with "make USE_OPENMP=0".
@@ -446,9 +446,9 @@ void openblas_fork_handler()
446446#endif
447447}
448448
449- extern int openblas_num_threads_env ();
450- extern int openblas_goto_num_threads_env ();
451- extern int openblas_omp_num_threads_env ();
449+ extern int openblas_num_threads_env (void );
450+ extern int openblas_goto_num_threads_env (void );
451+ extern int openblas_omp_num_threads_env (void );
452452
453453int blas_get_cpu_number (void ){
454454#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 ) || defined(OS_HAIKU )
@@ -592,7 +592,7 @@ static BLASULONG key_lock = 0UL;
592592#endif
593593
594594/* Returns a pointer to the start of the per-thread memory allocation data */
595- static __inline struct alloc_t * * get_memory_table () {
595+ static __inline struct alloc_t * * get_memory_table (void ) {
596596#if defined(SMP )
597597LOCK_COMMAND (& key_lock );
598598lsk = local_storage_key ;
@@ -1145,7 +1145,7 @@ static void blas_memory_cleanup(void* ptr){
11451145 }
11461146}
11471147
1148- static void blas_memory_init (){
1148+ static void blas_memory_init (void ){
11491149#if defined(SMP )
11501150# if defined(OS_WINDOWS )
11511151 local_storage_key = TlsAlloc ();
@@ -1502,7 +1502,7 @@ static void gotoblas_memory_init(void) {
15021502/* Initialization for all function; this function should be called before main */
15031503
15041504static int gotoblas_initialized = 0 ;
1505- extern void openblas_read_env ();
1505+ extern void openblas_read_env (void );
15061506
15071507void CONSTRUCTOR gotoblas_init (void ) {
15081508
0 commit comments