| 1 | /* Copyright (C) 1995-2022 Free Software Foundation, Inc. | 
|---|
| 2 | This file is part of the GNU C Library. | 
|---|
| 3 |  | 
|---|
| 4 | The GNU C Library is free software; you can redistribute it and/or | 
|---|
| 5 | modify it under the terms of the GNU Lesser General Public | 
|---|
| 6 | License as published by the Free Software Foundation; either | 
|---|
| 7 | version 2.1 of the License, or (at your option) any later version. | 
|---|
| 8 |  | 
|---|
| 9 | The GNU C Library is distributed in the hope that it will be useful, | 
|---|
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
|---|
| 12 | Lesser General Public License for more details. | 
|---|
| 13 |  | 
|---|
| 14 | You should have received a copy of the GNU Lesser General Public | 
|---|
| 15 | License along with the GNU C Library; if not, see | 
|---|
| 16 | <https://www.gnu.org/licenses/>.  */ | 
|---|
| 17 |  | 
|---|
| 18 | #include <endian.h> | 
|---|
| 19 | #include <stdint.h> | 
|---|
| 20 | #include "localeinfo.h" | 
|---|
| 21 |  | 
|---|
| 22 | #include "C-collate-seq.c" | 
|---|
| 23 |  | 
|---|
| 24 | const struct __locale_data _nl_C_LC_COLLATE attribute_hidden = | 
|---|
| 25 | { | 
|---|
| 26 | _nl_C_name, | 
|---|
| 27 | NULL, 0, 0,			/* no file mapped */ | 
|---|
| 28 | NULL,				/* No cached data.  */ | 
|---|
| 29 | UNDELETABLE, | 
|---|
| 30 | 0, | 
|---|
| 31 | 19, | 
|---|
| 32 | { | 
|---|
| 33 | /* _NL_COLLATE_NRULES */ | 
|---|
| 34 | { .word = 0 }, | 
|---|
| 35 | /* _NL_COLLATE_RULESETS */ | 
|---|
| 36 | { .string = NULL }, | 
|---|
| 37 | /* _NL_COLLATE_TABLEMB */ | 
|---|
| 38 | { .string = NULL }, | 
|---|
| 39 | /* _NL_COLLATE_WEIGHTMB */ | 
|---|
| 40 | { .string = NULL }, | 
|---|
| 41 | /* _NL_COLLATE_EXTRAMB */ | 
|---|
| 42 | { .string = NULL }, | 
|---|
| 43 | /* _NL_COLLATE_INDIRECTMB */ | 
|---|
| 44 | { .string = NULL }, | 
|---|
| 45 | /* _NL_COLLATE_GAP1 */ | 
|---|
| 46 | { .string = NULL }, | 
|---|
| 47 | /* _NL_COLLATE_GAP2 */ | 
|---|
| 48 | { .string = NULL }, | 
|---|
| 49 | /* _NL_COLLATE_GAP3 */ | 
|---|
| 50 | { .string = NULL }, | 
|---|
| 51 | /* _NL_COLLATE_TABLEWC */ | 
|---|
| 52 | { .string = NULL }, | 
|---|
| 53 | /* _NL_COLLATE_WEIGHTWC */ | 
|---|
| 54 | { .string = NULL }, | 
|---|
| 55 | /* _NL_COLLATE_EXTRAWC */ | 
|---|
| 56 | { .string = NULL }, | 
|---|
| 57 | /* _NL_COLLATE_INDIRECTWC */ | 
|---|
| 58 | { .string = NULL }, | 
|---|
| 59 | /* _NL_COLLATE_SYMB_HASH_SIZEMB */ | 
|---|
| 60 | { .string = NULL }, | 
|---|
| 61 | /* _NL_COLLATE_SYMB_TABLEMB */ | 
|---|
| 62 | { .string = NULL }, | 
|---|
| 63 | /* _NL_COLLATE_SYMB_EXTRAMB */ | 
|---|
| 64 | { .string = NULL }, | 
|---|
| 65 | /* _NL_COLLATE_COLLSEQMB */ | 
|---|
| 66 | { .string = collseqmb }, | 
|---|
| 67 | /* _NL_COLLATE_COLLSEQWC */ | 
|---|
| 68 | { .string = (const char *) collseqwc }, | 
|---|
| 69 | /* _NL_COLLATE_CODESET */ | 
|---|
| 70 | { .string = _nl_C_codeset } | 
|---|
| 71 | } | 
|---|
| 72 | }; | 
|---|
| 73 |  | 
|---|