diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-15 09:00:01 +0200 |
---|---|---|
committer | Gabriel Krisman Bertazi <krisman@collabora.com> | 2021-10-11 22:01:50 +0200 |
commit | 379210db489c562cd40e9913067149869245a1a0 (patch) | |
tree | 695813ca9a64a11d7906de8505be32d69fe85ccc /fs/unicode/utf8n.h | |
parent | unicode: pass a UNICODE_AGE() tripple to utf8_load (diff) | |
download | linux-379210db489c562cd40e9913067149869245a1a0.tar.xz linux-379210db489c562cd40e9913067149869245a1a0.zip |
unicode: remove the unused utf8{,n}age{min,max} functions
No actually used anywhere.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Diffstat (limited to 'fs/unicode/utf8n.h')
-rw-r--r-- | fs/unicode/utf8n.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/unicode/utf8n.h b/fs/unicode/utf8n.h index 85a7bebf6927..e4c8a767cf7a 100644 --- a/fs/unicode/utf8n.h +++ b/fs/unicode/utf8n.h @@ -34,22 +34,6 @@ extern const struct utf8data *utf8nfdi(unsigned int maxage); extern const struct utf8data *utf8nfdicf(unsigned int maxage); /* - * Determine the maximum age of any unicode character in the string. - * Returns 0 if only unassigned code points are present. - * Returns -1 if the input is not valid UTF-8. - */ -extern int utf8agemax(const struct utf8data *data, const char *s); -extern int utf8nagemax(const struct utf8data *data, const char *s, size_t len); - -/* - * Determine the minimum age of any unicode character in the string. - * Returns 0 if any unassigned code points are present. - * Returns -1 if the input is not valid UTF-8. - */ -extern int utf8agemin(const struct utf8data *data, const char *s); -extern int utf8nagemin(const struct utf8data *data, const char *s, size_t len); - -/* * Determine the length of the normalized from of the string, * excluding any terminating NULL byte. * Returns 0 if only ignorable code points are present. |