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

@ -41,31 +41,31 @@
static u_char o_settou[] = {
static unsigned char o_settou[] = {
0xA1, 0xb8, 0xe6, 0xa4, 0xaa
};
static u_char go_settou[] = {
static unsigned char go_settou[] = {
0xA1, 0xb8, 0xe6, 0xa4, 0xb4
};
static u_char dai_settou[] = {
static unsigned char dai_settou[] = {
0x22, 0xc2, 0xe8, 0xc2, 0xe8
};
static u_char kigou_settou[] = {
static unsigned char kigou_settou[] = {
0x01
};
u_char *settou_ptr[] = {
unsigned char *settou_ptr[] = {
NULL, o_settou, go_settou, dai_settou, kigou_settou
};
u_char scncttbl[2][24] = {
unsigned char scncttbl[2][24] = {
{
0x48, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,