summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-03 15:12:26 +0200
committerNoel Grandin <noel@peralex.com>2015-08-04 08:55:56 +0200
commit2886f830a9c7871974f9afbc1fdc46bbae468811 (patch)
treeb23c06ab94d5937502cfe0ee29c11aab557193b9 /i18nlangtag
parentc5b995bb09487e2b7626a5920506b07dff390203 (diff)
idl,framework,forms: inline some use-once typedefs
Change-Id: Icb4908c274ec0778af7ed9fe2d935bf6723fedfb
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/source/languagetag/simple-langtag.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/i18nlangtag/source/languagetag/simple-langtag.cxx b/i18nlangtag/source/languagetag/simple-langtag.cxx
index a7aa1aeb2e68..0cad44eeb2ff 100644
--- a/i18nlangtag/source/languagetag/simple-langtag.cxx
+++ b/i18nlangtag/source/languagetag/simple-langtag.cxx
@@ -22,7 +22,6 @@
namespace {
-typedef int lt_bool_t;
typedef void* lt_pointer_t;
struct lt_error_t {
@@ -326,7 +325,7 @@ static void lt_tag_unref(lt_tag_t *tag)
any i-* irregular and x-* privateuse. Subtags are not checked for validity
(alpha, digit, registered, ...).
*/
-static lt_bool_t lt_tag_parse(lt_tag_t *tag,
+static int lt_tag_parse(lt_tag_t *tag,
const char *tag_string,
lt_error_t **error)
{