summaryrefslogtreecommitdiff
path: root/fs/unicode/utf8n.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-15 10:00:01 +0300
committerGabriel Krisman Bertazi <krisman@collabora.com>2021-10-11 23:01:50 +0300
commit379210db489c562cd40e9913067149869245a1a0 (patch)
tree695813ca9a64a11d7906de8505be32d69fe85ccc /fs/unicode/utf8n.h
parent49bd03cc7e95cb78420305ca2f5ef67497b6fa80 (diff)
downloadlinux-379210db489c562cd40e9913067149869245a1a0.tar.xz
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.h16
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.