glibc/locale
Marko Myllynen fc5771e43c Remove unused PREDEFINED_CLASSES code
Hi,

AFAICS PREDEFINED_CLASSES is never defined thus the code is unused. It would seem that the code is related to LO_LTYPE which was discussed in the past but there are no any recent references:

http://pubs.opengroup.org/onlinepubs/9638399/loltype.htm

Patch below, compiles and passes make check.

2015-05-12 Marko Myllynen  <myllynen@redhat.com>

	* locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
	* locale/programs/ld-ctype.c: Likewise.
2015-06-09 09:34:06 +02:00
..
bits Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
programs Remove unused PREDEFINED_CLASSES code 2015-06-09 09:34:06 +02:00
C-address.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-collate.c Improve strcoll with strdiff. 2015-05-12 11:37:52 +02:00
C-ctype.c Remove unused PREDEFINED_CLASSES code 2015-06-09 09:34:06 +02:00
C-identification.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-measurement.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-messages.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-monetary.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-name.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-numeric.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-paper.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-telephone.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-time.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-translit.h Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h. 2013-06-05 12:01:50 -05:00
C-translit.h.in Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C_name.c Update. 2001-04-06 17:49:18 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
SYS_libc.c [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
Versions * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. 2003-03-03 09:45:25 +00:00
broken_cur_max.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
categories.def Improve strcoll with strdiff. 2015-05-12 11:37:52 +02:00
coll-lookup.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
coll-lookup.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
duplocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
elem-hash.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
findlocale.c Avoid unsafe loc_name type casts with additional variable 2015-02-27 22:18:56 -03:00
freelocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gen-translit.pl Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h. 2013-06-05 12:01:50 -05:00
global-locale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
hashval.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
indigits.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
indigitswc.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
iso-639.def New Bhilodi and Tulu locales (BZ #17475) 2014-11-12 17:06:39 +05:30
iso-3166.def Fix typos in 3166.def. 2013-10-04 18:51:42 -04:00
iso-4217.def Revert incorrect removal of the XDR currency from locale/iso-4217.def 2014-05-03 23:45:15 -06:00
langinfo.h Improve strcoll with strdiff. 2015-05-12 11:37:52 +02:00
lc-address.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-collate.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-ctype.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-identification.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-measurement.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-messages.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-monetary.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-name.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-numeric.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-paper.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-telephone.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-time.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
loadarchive.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
loadlocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
locale.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
localeconv.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
localeinfo.h Improve strcoll with strdiff. 2015-05-12 11:37:52 +02:00
localename.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
locarchive.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mb_cur_max.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
newlocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nl_langinfo.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nl_langinfo_l.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
outdigits.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
outdigitswc.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setlocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
strlen-hash.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-C-locale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-duplocale.c Add missing test files. 2009-11-17 16:23:57 -08:00
tst-locname.c Add missing test files. 2009-11-17 16:23:57 -08:00
uselocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
weight.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
weightwc.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
xlocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
xlocale.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00