diff --git a/utils/util.h b/utils/util.h index a62487c..30b2041 100644 --- a/utils/util.h +++ b/utils/util.h @@ -12,7 +12,9 @@ extern "C" { #endif #include -#include "hosp.h" +#include + +#pragma GCC visibility push(hidden) // Time wait between writing a command the reading the response #define HOSP_WRITE_READ_DELAY_MS 1 @@ -28,6 +30,8 @@ int hosp_util_get_status(hosp_device* hosp, int* is_on, int* is_started); int hosp_util_get_data(hosp_device* hosp, unsigned int* mv, unsigned int* ma, unsigned int* mw, unsigned int* mWh); +#pragma GCC visibility pop + #ifdef __cplusplus } #endif