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
22
selsuuji.c
22
selsuuji.c
|
|
@ -32,7 +32,7 @@
|
|||
#include "const.h"
|
||||
#include "sj_suuji.h"
|
||||
|
||||
static u_short selsjAR[] = {
|
||||
static unsigned short selsjAR[] = {
|
||||
SelArb0,
|
||||
SelArbCma | JFLAG_NK4 | JFLAG_NN0,
|
||||
SelKanSjYm | JFLAG_NN0,
|
||||
|
|
@ -41,7 +41,7 @@ static u_short selsjAR[] = {
|
|||
SelNumTerm
|
||||
};
|
||||
|
||||
static u_short selsjARCM[] = {
|
||||
static unsigned short selsjARCM[] = {
|
||||
SelArbCma | JFLAG_NK4 | JFLAG_NN0,
|
||||
SelArb0,
|
||||
SelKanSjYm | JFLAG_NN0,
|
||||
|
|
@ -50,7 +50,7 @@ static u_short selsjARCM[] = {
|
|||
SelNumTerm
|
||||
};
|
||||
|
||||
static u_short selsjKAZU[] = {
|
||||
static unsigned short selsjKAZU[] = {
|
||||
SelKanSjYm | JFLAG_NN0,
|
||||
SelKanSjYm2 | SelNum1_23_10_1 | JFLAG_NN0,
|
||||
SelKanSj0 | JFLAG_NK2,
|
||||
|
|
@ -59,49 +59,49 @@ static u_short selsjKAZU[] = {
|
|||
SelNumTerm
|
||||
};
|
||||
|
||||
static u_short selsjSUUJI[] = {
|
||||
static unsigned short selsjSUUJI[] = {
|
||||
SelKanSj0,
|
||||
SelArb0,
|
||||
SelNumTerm
|
||||
};
|
||||
|
||||
static u_short selsjNANSUU[] = {
|
||||
static unsigned short selsjNANSUU[] = {
|
||||
SelKanSjYm,
|
||||
SelNumTerm
|
||||
};
|
||||
|
||||
static u_short selsjAR17[] = {
|
||||
static unsigned short selsjAR17[] = {
|
||||
SelLongArb,
|
||||
SelLongArbCma,
|
||||
SelNumTerm
|
||||
};
|
||||
|
||||
static u_short selsjAR17CM[] = {
|
||||
static unsigned short selsjAR17CM[] = {
|
||||
SelLongArbCma,
|
||||
SelLongArb,
|
||||
SelNumTerm
|
||||
};
|
||||
|
||||
static u_short selsjAR17SJ[] = {
|
||||
static unsigned short selsjAR17SJ[] = {
|
||||
SelLongArb,
|
||||
SelLongSj,
|
||||
SelNumTerm
|
||||
};
|
||||
|
||||
static u_short selsjKANKURA[] = {
|
||||
static unsigned short selsjKANKURA[] = {
|
||||
SelKanSjKr,
|
||||
SelArbKr,
|
||||
SelNumTerm
|
||||
};
|
||||
|
||||
static u_short selsjARAKURA[] = {
|
||||
static unsigned short selsjARAKURA[] = {
|
||||
SelArbKr,
|
||||
SelKanSjKr | JFLAG_NSN,
|
||||
SelNumTerm
|
||||
};
|
||||
|
||||
|
||||
u_short *selsjadrs[] = {
|
||||
unsigned short *selsjadrs[] = {
|
||||
selsjAR,
|
||||
selsjARCM,
|
||||
selsjKAZU,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue