From db2b73113bd96c57ffb73b007d7466a6bba6a13c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 13 Feb 2000 07:21:44 +0000 Subject: [PATCH] Initialize __ctype32_toupper and __ctype32_tolower. --- locale/lc-ctype.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/locale/lc-ctype.c b/locale/lc-ctype.c index d2139aeb311..10da5147bc5 100644 --- a/locale/lc-ctype.c +++ b/locale/lc-ctype.c @@ -1,5 +1,5 @@ /* Define current locale data for LC_CTYPE category. - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,6 +20,7 @@ #include "localeinfo.h" #include #include +#include _NL_CURRENT_DEFINE (LC_CTYPE); @@ -49,11 +50,15 @@ _nl_postload_ctype (void) extern const unsigned int *__ctype32_b; extern const unsigned int *__ctype_names; extern const unsigned char *__ctype_width; + extern const uint32_t *__ctype32_toupper; + extern const uint32_t *__ctype32_tolower; __ctype_b = current (unsigned short int, CLASS, 128); __ctype_toupper = current (int, bo (TOUPPER), 128); __ctype_tolower = current (int, bo (TOLOWER), 128); __ctype32_b = current (unsigned int, CLASS32, 0); + __ctype32_toupper = current (uint32_t, bo (TOUPPER32), 0); + __ctype32_tolower = current (uint32_t, bo (TOLOWER32), 0); __ctype_names = current (unsigned int, bo (NAMES), 0); __ctype_width = current (unsigned char, WIDTH, 0); } -- 2.47.2