diff --git a/src/autodetection.c b/src/autodetection.c index e4e121f..de8f0bd 100644 --- a/src/autodetection.c +++ b/src/autodetection.c @@ -249,7 +249,7 @@ int32_t autodetect_interface(void * handle, const char * suffix) { // those. build_symbol_name(symbol_name, "dpotrf_", suffix); void * dpotrf = lookup_symbol(handle, symbol_name); - if (ilaver != NULL || dpotrf != NULL) { + if (dpotrf != NULL) { return autodetect_lapack_interface_dpotrf(dpotrf); } diff --git a/src/config.c b/src/config.c index 8efa069..a492e68 100644 --- a/src/config.c +++ b/src/config.c @@ -64,7 +64,8 @@ void clear_forwarding_mark(int32_t symbol_idx, int32_t interface) { } } -void clear_other_forwards(int skip_idx, uint8_t * forwards, int32_t interface) { +// Only used within this file; keep it out of the library's exported symbols. +static void clear_other_forwards(int skip_idx, uint8_t * forwards, int32_t interface) { for (int idx=0; idx