X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwgt.h;h=301a8693a96da1aa16cfa11a05148e51ec3dfc06;hb=2a319cf90daa6e3b01e8139923f7073e1c9bcf28;hp=82ad4dba28b039cc0c96d825a7f9a522aa00d21f;hpb=9c6132dd0bfaca8edae84906ad70a6205b5ba42f;p=src%2Fapp-framework-main.git diff --git a/src/wgt.h b/src/wgt.h index 82ad4db..301a869 100644 --- a/src/wgt.h +++ b/src/wgt.h @@ -1,5 +1,5 @@ /* - Copyright 2015 IoT.bzh + Copyright (C) 2015-2019 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);