]> git.ipfire.org Git - thirdparty/glibc.git/blame - locale/C-collate.c
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / locale / C-collate.c
CommitLineData
dff8da6b 1/* Copyright (C) 1995-2024 Free Software Foundation, Inc.
6d52618b 2 This file is part of the GNU C Library.
75cd5204 3
6d52618b 4 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
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.
75cd5204 8
6d52618b
UD
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
41bdb6e2 12 Lesser General Public License for more details.
75cd5204 13
41bdb6e2 14 You should have received a copy of the GNU Lesser General Public
59ba27a6 15 License along with the GNU C Library; if not, see
5a82c748 16 <https://www.gnu.org/licenses/>. */
40deae08 17
ce7a5ef4 18#include <endian.h>
e054f494 19#include <stdint.h>
40deae08
RM
20#include "localeinfo.h"
21
f5117c65 22#include "C-collate-seq.c"
acb5ee2e 23
f095bb72 24const struct __locale_data _nl_C_LC_COLLATE attribute_hidden =
40deae08 25{
7a12c6bb 26 _nl_C_name,
df9f41c9 27 NULL, 0, 0, /* no file mapped */
7ee41feb 28 NULL, /* No cached data. */
a5a0310d 29 UNDELETABLE,
323fb88d 30 0,
e7f21fa6 31 19,
59dd8641 32 {
04ea3b0f 33 /* _NL_COLLATE_NRULES */
0274d73c 34 { .word = 0 },
04ea3b0f 35 /* _NL_COLLATE_RULESETS */
0274d73c 36 { .string = NULL },
04ea3b0f 37 /* _NL_COLLATE_TABLEMB */
0274d73c 38 { .string = NULL },
04ea3b0f 39 /* _NL_COLLATE_WEIGHTMB */
0274d73c 40 { .string = NULL },
04ea3b0f 41 /* _NL_COLLATE_EXTRAMB */
0274d73c 42 { .string = NULL },
04ea3b0f 43 /* _NL_COLLATE_INDIRECTMB */
0274d73c 44 { .string = NULL },
4c7d276e 45 /* _NL_COLLATE_GAP1 */
0274d73c 46 { .string = NULL },
4c7d276e 47 /* _NL_COLLATE_GAP2 */
0274d73c 48 { .string = NULL },
4c7d276e 49 /* _NL_COLLATE_GAP3 */
0274d73c 50 { .string = NULL },
04ea3b0f 51 /* _NL_COLLATE_TABLEWC */
0274d73c 52 { .string = NULL },
04ea3b0f 53 /* _NL_COLLATE_WEIGHTWC */
0274d73c 54 { .string = NULL },
04ea3b0f 55 /* _NL_COLLATE_EXTRAWC */
0274d73c 56 { .string = NULL },
04ea3b0f 57 /* _NL_COLLATE_INDIRECTWC */
0274d73c 58 { .string = NULL },
04ea3b0f 59 /* _NL_COLLATE_SYMB_HASH_SIZEMB */
0274d73c 60 { .string = NULL },
04ea3b0f 61 /* _NL_COLLATE_SYMB_TABLEMB */
0274d73c 62 { .string = NULL },
04ea3b0f 63 /* _NL_COLLATE_SYMB_EXTRAMB */
0274d73c 64 { .string = NULL },
04ea3b0f 65 /* _NL_COLLATE_COLLSEQMB */
0274d73c 66 { .string = collseqmb },
04ea3b0f 67 /* _NL_COLLATE_COLLSEQWC */
0274d73c 68 { .string = (const char *) collseqwc },
e7f21fa6 69 /* _NL_COLLATE_CODESET */
87701a58 70 { .string = _nl_C_codeset }
59dd8641 71 }
40deae08 72};