Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2000-08-02  Ulrich Drepper  <drepper@redhat.com>

	* tests-mbwc/tst_types.h: Don't use `char' for types of any field,
	use `int'.
  • Loading branch information
Ulrich Drepper committed Aug 2, 2000
1 parent ea1c96f commit c44b548
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 26 deletions.
5 changes: 5 additions & 0 deletions localedata/ChangeLog
Original file line number Diff line number Diff line change
@@ -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>

* Makefile (distribute): Follow name change of tst-ctype-de.in to
Expand Down
52 changes: 26 additions & 26 deletions localedata/tests-mbwc/tst_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ typedef struct
{
struct
{
char s_flg;
int s_flg;
char s[MBSSIZE];
size_t n;
char t_flg;
char t_init;
int t_flg;
int t_init;
}
seq[WCSTOK_SEQNUM];
}
Expand All @@ -139,12 +139,12 @@ typedef struct
{
struct
{
char w_flg;
char s_flg;
int w_flg;
int s_flg;
char s[MBSSIZE];
size_t n;
char t_flg;
char t_init;
int t_flg;
int t_init;
}
seq[MBRTOWC_SEQNUM];
}
Expand Down Expand Up @@ -173,11 +173,11 @@ typedef struct
{
struct
{
char w_flg;
int w_flg;
char s[MBSSIZE];
size_t n;
char t_flg;
char t_init;
int t_flg;
int t_init;
}
seq[MBSRTOWCS_SEQNUM];
}
Expand Down Expand Up @@ -205,8 +205,8 @@ typedef struct
{
struct
{
char w_flg;
char s_flg;
int w_flg;
int s_flg;
const char *s;
size_t n;
}
Expand Down Expand Up @@ -302,7 +302,7 @@ typedef struct
{
wchar_t ws[WCSSIZE * 3];
wchar_t fmt[WCSSIZE * 3];
char wch;
int wch;
}
TIN_SWSCANF_REC;

Expand All @@ -312,7 +312,7 @@ typedef struct
int val_int; /* %d */
unsigned val_uns; /* %u */
float val_flt; /* %f */
char val_c; /* %c */
int val_c; /* %c */
char val_s[MBSSIZE * 2]; /* %s */
wchar_t val_S[WCSSIZE * 2]; /* %lc, %ls, %C, %S */
}
Expand Down Expand Up @@ -344,10 +344,10 @@ TST_TOW_STRUCT (UPPER, upper);

typedef struct
{
char s_flg;
int s_flg;
wchar_t wc;
char t_flg;
char t_init;
int t_flg;
int t_init;
}
TIN_WCRTOMB_REC;

Expand Down Expand Up @@ -414,7 +414,7 @@ typedef TIN_WCSCMP_REC TIN_WCSCOLL_REC;
typedef struct
{
TMD_ERRET (int);
char cmp_flg;
int cmp_flg;
}
TEX_WCSCOLL_REC;
TMD_RECHEAD (WCSCOLL);
Expand Down Expand Up @@ -518,12 +518,12 @@ TMD_RECHEAD (WCSPBRK);

typedef struct
{
char s_flg;
char w_flg; /* don't need this */
int s_flg;
int w_flg; /* don't need this */
wchar_t ws[WCSSIZE];
size_t n;
char t_flg;
char t_init;
int t_flg;
int t_init;
}
TIN_WCSRTOMBS_REC;

Expand Down Expand Up @@ -585,7 +585,7 @@ typedef struct
{
struct
{
char w_flg;
int w_flg;
wchar_t ws[WCSSIZE];
wchar_t dt[WCSSIZE]; /* delimiter */
}
Expand Down Expand Up @@ -613,8 +613,8 @@ TMD_RECHEAD (WCSTOK);

typedef struct
{
char s_flg;
char w_flg; /* currently we don't need it. */
int s_flg;
int w_flg; /* currently we don't need it. */
wchar_t ws[WCSSIZE];
size_t n;
}
Expand Down Expand Up @@ -675,7 +675,7 @@ TMD_RECHEAD (WCTOB);

typedef struct
{
char s_flg;
int s_flg;
wchar_t wc;
}
TIN_WCTOMB_REC;
Expand Down

0 comments on commit c44b548

Please sign in to comment.