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:
parent
f5d94e3e41
commit
a9a6c86f12
99 changed files with 1711 additions and 1709 deletions
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
|
||||
|
||||
#define iseocl(p) ( !ClYomiLen(p) || (u_char *)(p) >= ClStudyTail )
|
||||
#define iseocl(p) ( !ClYomiLen(p) || (unsigned char *)(p) >= ClStudyTail )
|
||||
|
||||
|
||||
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
#define ClHighNum(p) *(p + CL_NUMH)
|
||||
#define ClLowNum(p) *(p + CL_NUML)
|
||||
#define ClGetNum(p) (ClHighNum(p) * 0x100 + ClLowNum(p))
|
||||
#define ClSetNum(p, n) (ClHighNum(p)=(u_char)((n) >> 8), ClLowNum(p)=(u_char)(n))
|
||||
#define ClSetNum(p, n) (ClHighNum(p)=(unsigned char)((n) >> 8), ClLowNum(p)=(unsigned char)(n))
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue