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

@ -67,7 +67,7 @@ CLREC *clrec;
void mk2claus()
{
u_char *keepptr;
unsigned char *keepptr;
int keeplen;
CLREC *clrec;
int len;
@ -117,9 +117,9 @@ void mk2claus()
}
if (Termtbl[clrec -> right] & T_SHUUJO)
clrec -> cl2len = (u_char)len;
clrec -> cl2len = (unsigned char)len;
else
clrec -> cl2len = (u_char)save2ln;
clrec -> cl2len = (unsigned char)save2ln;
if (selcl -> cl2len > clrec -> cl2len) continue;