X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwgt.h;h=f51e62046eae8f9b6ae2a0262f639cbc79252d10;hb=3a2efc3143d89d036794f2d8274794482cb2c961;hp=82ad4dba28b039cc0c96d825a7f9a522aa00d21f;hpb=9c6132dd0bfaca8edae84906ad70a6205b5ba42f;p=src%2Fapp-framework-main.git diff --git a/src/wgt.h b/src/wgt.h index 82ad4db..f51e620 100644 --- a/src/wgt.h +++ b/src/wgt.h @@ -1,5 +1,5 @@ /* - Copyright 2015 IoT.bzh + Copyright (C) 2015-2020 IoT.bzh author: José Bollo @@ -33,7 +33,7 @@ extern int wgt_is_connected(struct wgt *wgt); /* management of locales */ extern void wgt_locales_reset(struct wgt *wgt); extern int wgt_locales_add(struct wgt *wgt, const char *locstr); -extern int wgt_locales_score(struct wgt *wgt, const char *lang); +extern unsigned int wgt_locales_score(struct wgt *wgt, const char *lang); /* direct access to files */ extern int wgt_has(struct wgt *wgt, const char *filename);