diff options
author | Florian Weimer <fweimer@redhat.com> | 2014-09-12 09:17:32 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2014-09-12 09:17:32 +0200 |
commit | ba7b4d294b01870ce3497971e9d07ee261cdc540 (patch) | |
tree | f68e63afa5218a87f37c98c45ce8d7f62ec81bb0 /wcsmbs | |
parent | 5379aebddd0a35c052e7149fb4ff88b49676516e (diff) | |
download | glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.zip glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.tar.gz glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.tar.bz2 |
Complete the removal of __gconv_translit_find
Prior to the 2.20 release, the function was just changed to fail
unconditionally, in commit a1a6a401ab0a3c9f15fb7eaebbdcee24192254e8.
This commit removes the function completely, including gconv bits
which depend on it.
This changes the gconv ABI, which is not a public interface.
Diffstat (limited to 'wcsmbs')
-rw-r--r-- | wcsmbs/btowc.c | 1 | ||||
-rw-r--r-- | wcsmbs/mbrtoc16.c | 1 | ||||
-rw-r--r-- | wcsmbs/mbrtowc.c | 1 | ||||
-rw-r--r-- | wcsmbs/mbsnrtowcs.c | 1 | ||||
-rw-r--r-- | wcsmbs/mbsrtowcs_l.c | 1 | ||||
-rw-r--r-- | wcsmbs/wcrtomb.c | 1 | ||||
-rw-r--r-- | wcsmbs/wcsnrtombs.c | 1 | ||||
-rw-r--r-- | wcsmbs/wcsrtombs.c | 1 | ||||
-rw-r--r-- | wcsmbs/wctob.c | 1 |
9 files changed, 0 insertions, 9 deletions
diff --git a/wcsmbs/btowc.c b/wcsmbs/btowc.c index 289736f..aafb392 100644 --- a/wcsmbs/btowc.c +++ b/wcsmbs/btowc.c @@ -75,7 +75,6 @@ __btowc (c) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = &data.__state; - data.__trans = NULL; /* Make sure we start in the initial state. */ memset (&data.__state, '\0', sizeof (mbstate_t)); diff --git a/wcsmbs/mbrtoc16.c b/wcsmbs/mbrtoc16.c index 643aaf5..69105ba 100644 --- a/wcsmbs/mbrtoc16.c +++ b/wcsmbs/mbrtoc16.c @@ -67,7 +67,6 @@ mbrtoc16 (char16_t *pc16, const char *s, size_t n, mbstate_t *ps) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = ps; - data.__trans = NULL; /* A first special case is if S is NULL. This means put PS in the initial state. */ diff --git a/wcsmbs/mbrtowc.c b/wcsmbs/mbrtowc.c index c57217a..8070bd8 100644 --- a/wcsmbs/mbrtowc.c +++ b/wcsmbs/mbrtowc.c @@ -49,7 +49,6 @@ __mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; - data.__trans = NULL; /* A first special case is if S is NULL. This means put PS in the initial state. */ diff --git a/wcsmbs/mbsnrtowcs.c b/wcsmbs/mbsnrtowcs.c index f91e580..e611dde 100644 --- a/wcsmbs/mbsnrtowcs.c +++ b/wcsmbs/mbsnrtowcs.c @@ -58,7 +58,6 @@ __mbsnrtowcs (dst, src, nmc, len, ps) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; - data.__trans = NULL; if (nmc == 0) return 0; diff --git a/wcsmbs/mbsrtowcs_l.c b/wcsmbs/mbsrtowcs_l.c index 08ff3c9..5e10a7e 100644 --- a/wcsmbs/mbsrtowcs_l.c +++ b/wcsmbs/mbsrtowcs_l.c @@ -56,7 +56,6 @@ __mbsrtowcs_l (dst, src, len, ps, l) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = ps; - data.__trans = NULL; /* Get the conversion functions. */ fcts = get_gconv_fcts (l->__locales[LC_CTYPE]); diff --git a/wcsmbs/wcrtomb.c b/wcsmbs/wcrtomb.c index be93877..67c68d3 100644 --- a/wcsmbs/wcrtomb.c +++ b/wcsmbs/wcrtomb.c @@ -49,7 +49,6 @@ __wcrtomb (char *s, wchar_t wc, mbstate_t *ps) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; - data.__trans = NULL; /* A first special case is if S is NULL. This means put PS in the initial state. */ diff --git a/wcsmbs/wcsnrtombs.c b/wcsmbs/wcsnrtombs.c index 6fe718d..015d08c 100644 --- a/wcsmbs/wcsnrtombs.c +++ b/wcsmbs/wcsnrtombs.c @@ -56,7 +56,6 @@ __wcsnrtombs (dst, src, nwc, len, ps) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; - data.__trans = NULL; if (nwc == 0) return 0; diff --git a/wcsmbs/wcsrtombs.c b/wcsmbs/wcsrtombs.c index 24e249c..988b468 100644 --- a/wcsmbs/wcsrtombs.c +++ b/wcsmbs/wcsrtombs.c @@ -52,7 +52,6 @@ __wcsrtombs (dst, src, len, ps) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; - data.__trans = NULL; /* Get the conversion functions. */ fcts = get_gconv_fcts (_NL_CURRENT_DATA (LC_CTYPE)); diff --git a/wcsmbs/wctob.c b/wcsmbs/wctob.c index 24c33ce..8e65738 100644 --- a/wcsmbs/wctob.c +++ b/wcsmbs/wctob.c @@ -53,7 +53,6 @@ wctob (c) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = &data.__state; - data.__trans = NULL; /* Make sure we start in the initial state. */ memset (&data.__state, '\0', sizeof (mbstate_t)); |