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,16 +41,16 @@
#include <sys/types.h>
typedef u_char TypeGroup;
typedef u_char TypeGram;
typedef u_short TypeIdxOfs;
typedef unsigned char TypeGroup;
typedef unsigned char TypeGram;
typedef unsigned short TypeIdxOfs;
typedef short TypeDicSeg;
typedef u_short TypeDicOfs;
typedef unsigned short TypeDicOfs;
typedef ino_t TypeDicID;
typedef u_char TypeCnct;
typedef u_short TypeStyNum;
typedef u_char TypeClass;
typedef u_char TypeBunNum;
typedef unsigned char TypeCnct;
typedef unsigned short TypeStyNum;
typedef unsigned char TypeClass;
typedef unsigned char TypeBunNum;
#ifndef NULL
# define NULL 0