diff --git a/sq2lv.c b/sq2lv.c index 04df066..def04fe 100644 --- a/sq2lv.c +++ b/sq2lv.c @@ -128,7 +128,7 @@ static int get_destination_layer_index_for_layer_switcher(lv_obj_t *keyboard, ui * Public functions */ -sq2lv_layout_id_t find_layout_with_short_name(const char *name) { +sq2lv_layout_id_t sq2lv_find_layout_with_short_name(const char *name) { for (int i = 0; i < sq2lv_num_layouts; ++i) { if (strcmp(sq2lv_layouts[i].short_name, name) == 0) { return i; diff --git a/sq2lv.h b/sq2lv.h index 38d3892..b5a1c07 100644 --- a/sq2lv.h +++ b/sq2lv.h @@ -29,7 +29,7 @@ * @param name layout short name * @return ID of the first matching layout or SQ2LV_LAYOUT_NONE if no layout matched */ -sq2lv_layout_id_t find_layout_with_short_name(const char *name); +sq2lv_layout_id_t sq2lv_find_layout_with_short_name(const char *name); /** * Apply a layout to a keyboard.