1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

* stdlib/fmtmsg.c (keywords): Change type of len element to

uint32_t to not waste space on 64bit machines.
This commit is contained in:
Ulrich Drepper
2006-05-15 18:42:19 +00:00
parent 9446614c28
commit fd5ea23820
2 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
2006-05-15 Ulrich Drepper <drepper@redhat.com> 2006-05-15 Ulrich Drepper <drepper@redhat.com>
* stdlib/fmtmsg.c (keywords): Change type of len element to
uint32_t to not waste space on 64bit machines.
* locale/setlocale.c: Change _nl_category_names into a string. * locale/setlocale.c: Change _nl_category_names into a string.
Add new _nl_category_name_idxs. Change all users. Add new _nl_category_name_idxs. Change all users.
* locale/localeinfo.h: Adjust declaration of _nl_category_names. * locale/localeinfo.h: Adjust declaration of _nl_category_names.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 1997,1999,2000-2003,2005 Free Software Foundation, Inc. /* Copyright (C) 1997,1999,2000-2003,2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -44,7 +44,7 @@ enum
static const struct static const struct
{ {
size_t len; uint32_t len;
/* Adjust the size if new elements are added. */ /* Adjust the size if new elements are added. */
const char name[12]; const char name[12];
} keywords[] = } keywords[] =