From: Bruno Haible Date: Mon, 29 Jun 2009 22:14:50 +0000 (+0200) Subject: Define u16_totitle as a wrapper around u16_ct_totitle. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=177c766ff15732ce7b840c9b0a5bd94b879d8185;p=pspp Define u16_totitle as a wrapper around u16_ct_totitle. --- diff --git a/ChangeLog b/ChangeLog index c5686c7332..2ce438d3fc 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 4d1db76545..e0d14e8301 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 9d7143cb0e..771b563059 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: