@@ -427,9 +427,9 @@ int goto_get_num_procs (void) {
427
427
return blas_cpu_number ;
428
428
}
429
429
430
- static void blas_memory_init ();
430
+ static void blas_memory_init (void );
431
431
432
- void openblas_fork_handler ()
432
+ void openblas_fork_handler (void )
433
433
{
434
434
// This handler shuts down the OpenBLAS-managed PTHREAD pool when OpenBLAS is
435
435
// built with "make USE_OPENMP=0".
@@ -446,9 +446,9 @@ void openblas_fork_handler()
446
446
#endif
447
447
}
448
448
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 );
452
452
453
453
int blas_get_cpu_number (void ){
454
454
#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;
592
592
#endif
593
593
594
594
/* 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 ) {
596
596
#if defined(SMP )
597
597
LOCK_COMMAND (& key_lock );
598
598
lsk = local_storage_key ;
@@ -1145,7 +1145,7 @@ static void blas_memory_cleanup(void* ptr){
1145
1145
}
1146
1146
}
1147
1147
1148
- static void blas_memory_init (){
1148
+ static void blas_memory_init (void ){
1149
1149
#if defined(SMP )
1150
1150
# if defined(OS_WINDOWS )
1151
1151
local_storage_key = TlsAlloc ();
@@ -1502,7 +1502,7 @@ static void gotoblas_memory_init(void) {
1502
1502
/* Initialization for all function; this function should be called before main */
1503
1503
1504
1504
static int gotoblas_initialized = 0 ;
1505
- extern void openblas_read_env ();
1505
+ extern void openblas_read_env (void );
1506
1506
1507
1507
void CONSTRUCTOR gotoblas_init (void ) {
1508
1508
0 commit comments