1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-07 01:26:44 +03:00
2000-08-02  Ulrich Drepper  <drepper@redhat.com>

	* tests-mbwc/tst_types.h: Don't use `char' for types of any field,
	use `int'.
This commit is contained in:
Ulrich Drepper
2000-08-02 17:55:34 +00:00
parent ea1c96f582
commit c44b54824c
2 changed files with 31 additions and 26 deletions

View File

@@ -1,3 +1,8 @@
2000-08-02 Ulrich Drepper <drepper@redhat.com>
* tests-mbwc/tst_types.h: Don't use `char' for types of any field,
use `int'.
2000-08-01 Andreas Jaeger <aj@suse.de> 2000-08-01 Andreas Jaeger <aj@suse.de>
* Makefile (distribute): Follow name change of tst-ctype-de.in to * Makefile (distribute): Follow name change of tst-ctype-de.in to

View File

@@ -116,11 +116,11 @@ typedef struct
{ {
struct struct
{ {
char s_flg; int s_flg;
char s[MBSSIZE]; char s[MBSSIZE];
size_t n; size_t n;
char t_flg; int t_flg;
char t_init; int t_init;
} }
seq[WCSTOK_SEQNUM]; seq[WCSTOK_SEQNUM];
} }
@@ -139,12 +139,12 @@ typedef struct
{ {
struct struct
{ {
char w_flg; int w_flg;
char s_flg; int s_flg;
char s[MBSSIZE]; char s[MBSSIZE];
size_t n; size_t n;
char t_flg; int t_flg;
char t_init; int t_init;
} }
seq[MBRTOWC_SEQNUM]; seq[MBRTOWC_SEQNUM];
} }
@@ -173,11 +173,11 @@ typedef struct
{ {
struct struct
{ {
char w_flg; int w_flg;
char s[MBSSIZE]; char s[MBSSIZE];
size_t n; size_t n;
char t_flg; int t_flg;
char t_init; int t_init;
} }
seq[MBSRTOWCS_SEQNUM]; seq[MBSRTOWCS_SEQNUM];
} }
@@ -205,8 +205,8 @@ typedef struct
{ {
struct struct
{ {
char w_flg; int w_flg;
char s_flg; int s_flg;
const char *s; const char *s;
size_t n; size_t n;
} }
@@ -302,7 +302,7 @@ typedef struct
{ {
wchar_t ws[WCSSIZE * 3]; wchar_t ws[WCSSIZE * 3];
wchar_t fmt[WCSSIZE * 3]; wchar_t fmt[WCSSIZE * 3];
char wch; int wch;
} }
TIN_SWSCANF_REC; TIN_SWSCANF_REC;
@@ -312,7 +312,7 @@ typedef struct
int val_int; /* %d */ int val_int; /* %d */
unsigned val_uns; /* %u */ unsigned val_uns; /* %u */
float val_flt; /* %f */ float val_flt; /* %f */
char val_c; /* %c */ int val_c; /* %c */
char val_s[MBSSIZE * 2]; /* %s */ char val_s[MBSSIZE * 2]; /* %s */
wchar_t val_S[WCSSIZE * 2]; /* %lc, %ls, %C, %S */ wchar_t val_S[WCSSIZE * 2]; /* %lc, %ls, %C, %S */
} }
@@ -344,10 +344,10 @@ TST_TOW_STRUCT (UPPER, upper);
typedef struct typedef struct
{ {
char s_flg; int s_flg;
wchar_t wc; wchar_t wc;
char t_flg; int t_flg;
char t_init; int t_init;
} }
TIN_WCRTOMB_REC; TIN_WCRTOMB_REC;
@@ -414,7 +414,7 @@ typedef TIN_WCSCMP_REC TIN_WCSCOLL_REC;
typedef struct typedef struct
{ {
TMD_ERRET (int); TMD_ERRET (int);
char cmp_flg; int cmp_flg;
} }
TEX_WCSCOLL_REC; TEX_WCSCOLL_REC;
TMD_RECHEAD (WCSCOLL); TMD_RECHEAD (WCSCOLL);
@@ -518,12 +518,12 @@ TMD_RECHEAD (WCSPBRK);
typedef struct typedef struct
{ {
char s_flg; int s_flg;
char w_flg; /* don't need this */ int w_flg; /* don't need this */
wchar_t ws[WCSSIZE]; wchar_t ws[WCSSIZE];
size_t n; size_t n;
char t_flg; int t_flg;
char t_init; int t_init;
} }
TIN_WCSRTOMBS_REC; TIN_WCSRTOMBS_REC;
@@ -585,7 +585,7 @@ typedef struct
{ {
struct struct
{ {
char w_flg; int w_flg;
wchar_t ws[WCSSIZE]; wchar_t ws[WCSSIZE];
wchar_t dt[WCSSIZE]; /* delimiter */ wchar_t dt[WCSSIZE]; /* delimiter */
} }
@@ -613,8 +613,8 @@ TMD_RECHEAD (WCSTOK);
typedef struct typedef struct
{ {
char s_flg; int s_flg;
char w_flg; /* currently we don't need it. */ int w_flg; /* currently we don't need it. */
wchar_t ws[WCSSIZE]; wchar_t ws[WCSSIZE];
size_t n; size_t n;
} }
@@ -675,7 +675,7 @@ TMD_RECHEAD (WCTOB);
typedef struct typedef struct
{ {
char s_flg; int s_flg;
wchar_t wc; wchar_t wc;
} }
TIN_WCTOMB_REC; TIN_WCTOMB_REC;