mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
* iconv/gconv_builtin.c (builtin_map): Change type of size
information fields to int8_t.
This commit is contained in:
parent
97d261ad22
commit
477aa8698f
@ -1,5 +1,8 @@
|
|||||||
2005-12-18 Ulrich Drepper <drepper@redhat.com>
|
2005-12-18 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* iconv/gconv_builtin.c (builtin_map): Change type of size
|
||||||
|
information fields to int8_t.
|
||||||
|
|
||||||
* libio/iofwide.c (__libio_codecvt): Mark as const.
|
* libio/iofwide.c (__libio_codecvt): Mark as const.
|
||||||
(__libio_translit): Likewise.
|
(__libio_translit): Likewise.
|
||||||
* libio/libioP.h (__libio_codecvt): Adjust declaraction.
|
* libio/libioP.h (__libio_codecvt): Adjust declaraction.
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <gconv_int.h>
|
#include <gconv_int.h>
|
||||||
@ -27,18 +28,18 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
|
||||||
static struct builtin_map
|
static const struct builtin_map
|
||||||
{
|
{
|
||||||
const char *name;
|
const char *name;
|
||||||
__gconv_fct fct;
|
__gconv_fct fct;
|
||||||
__gconv_btowc_fct btowc_fct;
|
__gconv_btowc_fct btowc_fct;
|
||||||
|
|
||||||
int min_needed_from;
|
int8_t min_needed_from;
|
||||||
int max_needed_from;
|
int8_t max_needed_from;
|
||||||
int min_needed_to;
|
int8_t min_needed_to;
|
||||||
int max_needed_to;
|
int8_t max_needed_to;
|
||||||
|
|
||||||
} map[] attribute_relro =
|
} map[] =
|
||||||
{
|
{
|
||||||
#define BUILTIN_TRANSFORMATION(From, To, Cost, Name, Fct, BtowcFct, \
|
#define BUILTIN_TRANSFORMATION(From, To, Cost, Name, Fct, BtowcFct, \
|
||||||
MinF, MaxF, MinT, MaxT) \
|
MinF, MaxF, MinT, MaxT) \
|
||||||
|
Loading…
Reference in New Issue
Block a user