From bbf704bf7501411964a63a68f1af541f612cf92d Mon Sep 17 00:00:00 2001 From: Devin Matthews Date: Fri, 25 Mar 2016 09:55:35 -0500 Subject: [PATCH] Add missing const to bli_read_nway_from_env. --- frame/base/bli_threading.c | 2 +- frame/base/bli_threading.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frame/base/bli_threading.c b/frame/base/bli_threading.c index 168679ef0..8a790a8ba 100644 --- a/frame/base/bli_threading.c +++ b/frame/base/bli_threading.c @@ -811,7 +811,7 @@ siz_t bli_get_range_weighted_b2t( void* thr, obj_t* a, dim_t bf, dim_t* start, d // Some utilities -dim_t bli_read_nway_from_env( char* env ) +dim_t bli_read_nway_from_env( const char* env ) { dim_t number = 1; char* str = getenv( env ); diff --git a/frame/base/bli_threading.h b/frame/base/bli_threading.h index 5fdff80fd..880f74d5f 100644 --- a/frame/base/bli_threading.h +++ b/frame/base/bli_threading.h @@ -178,7 +178,7 @@ thrinfo_t* bli_create_thread_info( thread_comm_t* ocomm, dim_t ocomm_id, void bli_setup_thread_info( thrinfo_t* thread, thread_comm_t* ocomm, dim_t ocomm_id, thread_comm_t* icomm, dim_t icomm_id, dim_t n_way, dim_t work_id ); -dim_t bli_read_nway_from_env( char* env ); +dim_t bli_read_nway_from_env( const char* env ); //void bli_setup_single_threaded_info( thrinfo_t* thr, thread_comm_t* comm ); //thrinfo_t* bli_create_thread_info( dim_t* n_threads_each_level, dim_t n_levels );