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

10
kigou.c
View file

@ -45,7 +45,7 @@
static int lastcode = BEGIN_CODE;
static u_short row, col;
static unsigned short row, col;
void input_kigou();
@ -54,7 +54,7 @@ kigou ()
extern int keyvalue;
int increse, code, basecode;
int inc, ki, low;
u_short num, CheckCcode(), strtocode();
unsigned short num, CheckCcode(), strtocode();
int rval;
increse = INCRESE;
@ -221,7 +221,7 @@ int bcode, code, increse;
extern wchar16_t Mguide[];
wchar16_t wtmp[20];
char tmp[20];
u_short prcode;
unsigned short prcode;
TopGuide ();
printR (Mguide);
@ -251,7 +251,7 @@ pkigou (code)
int code;
{
wchar16_t tmp[3];
u_short ccode;
unsigned short ccode;
if (jis2euc(code) == 0) {
ccode = BEGIN_CODE;
@ -274,7 +274,7 @@ input_kigou (basecode, code, increse)
int basecode, code, increse;
{
wchar16_t s[2];
u_short ccode, svlen;
unsigned short ccode, svlen;
Conversion *cv;
if (jis2euc(code) == 0) {