]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Initialize __ctype32_toupper and __ctype32_tolower.
authorUlrich Drepper <drepper@redhat.com>
Sun, 13 Feb 2000 07:21:44 +0000 (07:21 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 13 Feb 2000 07:21:44 +0000 (07:21 +0000)
locale/lc-ctype.c

index d2139aeb3117f17a295434e3914e3f58d98f3ee2..10da5147bc530c672811ea8810663733dbd8dcfe 100644 (file)
@@ -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 <ctype.h>
 #include <endian.h>
+#include <stdint.h>
 
 _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);
 }