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

@ -50,8 +50,8 @@ int terminate();
static int fzkstrcmp(yptr, fzkp, saml)
u_char *yptr;
u_char *fzkp;
unsigned char *yptr;
unsigned char *fzkp;
int *saml;
{
int asklen, nkrlen;
@ -95,7 +95,7 @@ int *saml;
void setclrec(jrec, yptr, right)
JREC *jrec;
u_char *yptr;
unsigned char *yptr;
TypeCnct right;
{
CLREC *new;
@ -185,7 +185,7 @@ static int fzkcnct(right, left)
TypeCnct right;
TypeCnct left;
{
u_char *cncttbl;
unsigned char *cncttbl;
if (right && left) {
cncttbl = Rigtadr(right);
@ -199,14 +199,14 @@ TypeCnct left;
void srchfzk(jrec, yptr, right, level)
JREC *jrec;
u_char *yptr;
unsigned char *yptr;
TypeCnct right;
int level;
{
u_char *fzk;
unsigned char *fzk;
int len = 0;
int cmp;
u_char *next;
unsigned char *next;
FREC *fzkrec;
int i;
int nlen;