diff --git a/src/tuxedo_io/tuxedo_io.c b/src/tuxedo_io/tuxedo_io.c index 92ea34c..1d4b01e 100644 --- a/src/tuxedo_io/tuxedo_io.c +++ b/src/tuxedo_io/tuxedo_io.c @@ -52,7 +52,7 @@ static struct uniwill_device_features_t *uw_feats; /** * strstr version of dmi_match */ -static bool dmi_string_in(enum dmi_field f, const char *str) +static bool __attribute__ ((unused)) dmi_string_in(enum dmi_field f, const char *str) { const char *info = dmi_get_system_info(f); diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index d123a44..5dd1ae5 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -785,7 +785,7 @@ static int uw_has_charging_profile(bool *status) return 0; } -static void uw_charging_profile_write_state(void) +static void __attribute__ ((unused)) uw_charging_profile_write_state(void) { if (uw_charging_profile_loaded) uw_set_charging_profile(uw_charging_profile_last_written_value);