diff options
author | tjr <tjr@FreeBSD.org> | 2004-10-17 02:29:15 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-10-17 02:29:15 +0000 |
commit | e40fa30ce61655590cbd4e7c025b2731600ac9b6 (patch) | |
tree | 6d6fb7d4a9ac47dbf0567825652b2c97a5f4156e /lib/libc/locale/setrunelocale.c | |
parent | 173f5d041b75ccb5f441455614c36ae702ae68d8 (diff) | |
download | FreeBSD-src-e40fa30ce61655590cbd4e7c025b2731600ac9b6.zip FreeBSD-src-e40fa30ce61655590cbd4e7c025b2731600ac9b6.tar.gz |
Remove support for the obsolete UTF2 encoding.
Diffstat (limited to 'lib/libc/locale/setrunelocale.c')
-rw-r--r-- | lib/libc/locale/setrunelocale.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/locale/setrunelocale.c b/lib/libc/locale/setrunelocale.c index 15e069f..c2cc7f0 100644 --- a/lib/libc/locale/setrunelocale.c +++ b/lib/libc/locale/setrunelocale.c @@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$"); #include "setlocale.h" extern int _none_init(_RuneLocale *); -extern int _UTF2_init(_RuneLocale *); extern int _UTF8_init(_RuneLocale *); extern int _EUC_init(_RuneLocale *); extern int _GB18030_init(_RuneLocale *); @@ -164,8 +163,6 @@ __setrunelocale(const char *encoding) rl->__sgetrune = __emulated_sgetrune; if (strcmp(rl->__encoding, "NONE") == 0) ret = _none_init(rl); - else if (strcmp(rl->__encoding, "UTF2") == 0) - ret = _UTF2_init(rl); else if (strcmp(rl->__encoding, "UTF-8") == 0) ret = _UTF8_init(rl); else if (strcmp(rl->__encoding, "EUC") == 0) |