replace u_xxxx style, defined <sys/types.h>

replace:
	u_char -> unsigned char
	u_short -> unsigned short
	u_int -> unsigned int
	u_long (not used)

include <sys/types.h> is kept.

dicttool.h:
	fix include guard DICTTOLL -> DICTTOOL

addelcmn.c:unsigned int addel_arg()
deldic.c:unsigned int deldic()
	change u_short err -> unsigned int err (used for return value)

Signed-off-by: SASANO Takayoshi <uaa@uaa.org.uk>
This commit is contained in:
SASANO Takayoshi 2023-12-10 16:28:22 +09:00 • committed by Masanori Ogino
commit a9a6c86f12
99 changed files with 1711 additions and 1709 deletions

View file

@ -46,11 +46,11 @@ void
cvtdict(KHREC *krec, CLREC *clrec, int flg)
{
TypeDicOfs ofs;
u_char *yptr;
unsigned char *yptr;
int jlen;
int stblen;
int sttlen;
u_char *fptr;
unsigned char *fptr;
int cllen;
JREC *jrec;
int i, j;
@ -162,7 +162,7 @@ cvtdict(KHREC *krec, CLREC *clrec, int flg)
void
cvtminasi(int len)
{
u_char *ptr;
unsigned char *ptr;
ptr = inputyomi;
@ -190,9 +190,9 @@ void
cvtwakachi(CLREC *clrec)
{
int jlen;
u_char *ym;
unsigned char *ym;
int cnt;
u_char ch;
unsigned char ch;
ym = inputyomi;