From 177c766ff15732ce7b840c9b0a5bd94b879d8185 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 30 Jun 2009 00:14:50 +0200 Subject: [PATCH] Define u16_totitle as a wrapper around u16_ct_totitle. --- ChangeLog | 5 +++++ lib/unicase/u16-totitle.c | 17 +---------------- modules/unicase/u16-totitle | 20 +++----------------- 3 files changed, 9 insertions(+), 33 deletions(-) diff --git a/ChangeLog b/ChangeLog index c5686c733..2ce438d3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-06-29 Bruno Haible + 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, + unicase/empty-prefix-context, unicase/empty-suffix-context. Clean up. + Define u8_totitle as a wrapper around u8_ct_totitle. * lib/unicase/u-totitle.h (is_cased, is_case_ignorable): Remove functions. diff --git a/lib/unicase/u16-totitle.c b/lib/unicase/u16-totitle.c index 4d1db7654..e0d14e830 100644 --- a/lib/unicase/u16-totitle.c +++ b/lib/unicase/u16-totitle.c @@ -20,23 +20,8 @@ /* 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 u16_totitle #define UNIT uint16_t -#define U_WORDBREAKS u16_wordbreaks -#define U_MBTOUC_UNSAFE u16_mbtouc_unsafe -#define U_UCTOMB u16_uctomb -#define U_CPY u16_cpy -#define U_NORMALIZE u16_normalize +#define U_CT_TOTITLE u16_ct_totitle #include "u-totitle.h" diff --git a/modules/unicase/u16-totitle b/modules/unicase/u16-totitle index 9d7143cb0..771b56305 100644 --- a/modules/unicase/u16-totitle +++ b/modules/unicase/u16-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/u16-wordbreaks -unictype/category-of -unictype/category-test -unictype/category-Lt -unictype/combining-class -unictype/property-lowercase -unictype/property-uppercase -unictype/property-soft-dotted -unistr/u16-mbtouc-unsafe -unistr/u16-uctomb -unistr/u16-cpy -uninorm/u16-normalize -stdbool +unicase/u16-ct-totitle +unicase/empty-prefix-context +unicase/empty-suffix-context configure.ac: -- 2.11.0