Skip to content

Commit

Permalink
Fix empty function prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Nov 12, 2023
1 parent ecaaece commit 9b5f8eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion driver/others/blas_server_omp.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ void openblas_set_num_threads(int num_threads) {
int blas_thread_init(void){

#if defined(__FreeBSD__) && defined(__clang__)
extern int openblas_omp_num_threads_env();
extern int openblas_omp_num_threads_env(void);

if(blas_omp_number_max <= 0)
blas_omp_number_max= openblas_omp_num_threads_env();
Expand Down
2 changes: 1 addition & 1 deletion driver/others/dynamic_zarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ extern gotoblas_t gotoblas_Z14;

#define NUM_CORETYPES 4

extern int openblas_verbose();
extern int openblas_verbose(void);
extern void openblas_warning(int verbose, const char* msg);

char* gotoblas_corename(void) {
Expand Down
8 changes: 4 additions & 4 deletions driver/others/memory_qalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ int goto_get_num_procs (void) {
return blas_cpu_number;
}

void openblas_fork_handler()
void openblas_fork_handler(void)
{
// This handler shuts down the OpenBLAS-managed PTHREAD pool when OpenBLAS is
// built with "make USE_OPENMP=0".
Expand All @@ -305,9 +305,9 @@ void openblas_fork_handler()
#endif
}

extern int openblas_num_threads_env();
extern int openblas_goto_num_threads_env();
extern int openblas_omp_num_threads_env();
extern int openblas_num_threads_env(void);
extern int openblas_goto_num_threads_env(void);
extern int openblas_omp_num_threads_env(void);

int blas_get_cpu_number(void){
#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)
Expand Down

0 comments on commit 9b5f8eb

Please sign in to comment.