From 3f977793bc73ee3ed14348cf8db825e0ffb523a8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 30 Jun 2009 00:15:28 +0200 Subject: [PATCH] Define u32_totitle as a wrapper around u32_ct_totitle. --- ChangeLog | 5 +++++ lib/unicase/u32-totitle.c | 17 +---------------- modules/unicase/u32-totitle | 20 +++----------------- 3 files changed, 9 insertions(+), 33 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2ce438d3f..e5aa1a2e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-06-29 Bruno Haible + Define u32_totitle as a wrapper around u32_ct_totitle. + * lib/unicase/u32-totitle.c: Update. + * modules/unicase/u32-totitle (Depends-on): Add unicase/u32-ct-totitle, + unicase/empty-prefix-context, unicase/empty-suffix-context. Clean up. + Define u16_totitle as a wrapper around u16_ct_totitle. * lib/unicase/u16-totitle.c: Update. * modules/unicase/u16-totitle (Depends-on): Add unicase/u16-ct-totitle, diff --git a/lib/unicase/u32-totitle.c b/lib/unicase/u32-totitle.c index 85719396d..21e1b0d11 100644 --- a/lib/unicase/u32-totitle.c +++ b/lib/unicase/u32-totitle.c @@ -20,22 +20,7 @@ /* Specification. */ #include "unicase.h" -#include -#include -#include -#include - -#include "unistr.h" -#include "unictype.h" -#include "uniwbrk.h" -#include "uninorm.h" -#include "special-casing.h" - #define FUNC u32_totitle #define UNIT uint32_t -#define U_WORDBREAKS u32_wordbreaks -#define U_MBTOUC_UNSAFE u32_mbtouc_unsafe -#define U_UCTOMB u32_uctomb -#define U_CPY u32_cpy -#define U_NORMALIZE u32_normalize +#define U_CT_TOTITLE u32_ct_totitle #include "u-totitle.h" diff --git a/modules/unicase/u32-totitle b/modules/unicase/u32-totitle index 45bd534b3..1a5943530 100644 --- a/modules/unicase/u32-totitle +++ b/modules/unicase/u32-totitle @@ -7,23 +7,9 @@ lib/unicase/u-totitle.h Depends-on: unicase/base -unicase/special-casing -unicase/totitle -unicase/tolower -uniwbrk/wordbreak-property -uniwbrk/u32-wordbreaks -unictype/category-of -unictype/category-test -unictype/category-Lt -unictype/combining-class -unictype/property-lowercase -unictype/property-uppercase -unictype/property-soft-dotted -unistr/u32-mbtouc-unsafe -unistr/u32-uctomb -unistr/u32-cpy -uninorm/u32-normalize -stdbool +unicase/u32-ct-totitle +unicase/empty-prefix-context +unicase/empty-suffix-context configure.ac: -- 2.11.0