Convert K&R definitions to ANSI C
This commit is contained in:
parent
787febbd07
commit
a2161ba1b0
45 changed files with 521 additions and 1073 deletions
24
fuzoku.c
24
fuzoku.c
|
|
@ -34,11 +34,7 @@
|
|||
|
||||
CLREC* argclrec();
|
||||
int terminate();
|
||||
|
||||
static int fzkstrcmp(yptr, fzkp, saml)
|
||||
unsigned char* yptr;
|
||||
unsigned char* fzkp;
|
||||
int* saml;
|
||||
static int fzkstrcmp(unsigned char * yptr, unsigned char * fzkp, int * saml)
|
||||
{
|
||||
int asklen, nkrlen;
|
||||
|
||||
|
|
@ -71,11 +67,7 @@ int* saml;
|
|||
|
||||
return MATCH;
|
||||
}
|
||||
|
||||
void setclrec(jrec, yptr, right)
|
||||
JREC* jrec;
|
||||
unsigned char* yptr;
|
||||
TypeCnct right;
|
||||
void setclrec(JREC * jrec, unsigned char * yptr, TypeCnct right)
|
||||
{
|
||||
CLREC* new;
|
||||
TypeGram hinshi;
|
||||
|
|
@ -151,10 +143,7 @@ TypeCnct right;
|
|||
} else
|
||||
new->kubun = K_TAIGEN;
|
||||
}
|
||||
|
||||
static int fzkcnct(right, left)
|
||||
TypeCnct right;
|
||||
TypeCnct left;
|
||||
static int fzkcnct(TypeCnct right, TypeCnct left)
|
||||
{
|
||||
unsigned char* cncttbl;
|
||||
|
||||
|
|
@ -167,12 +156,7 @@ TypeCnct left;
|
|||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void srchfzk(jrec, yptr, right, level)
|
||||
JREC* jrec;
|
||||
unsigned char* yptr;
|
||||
TypeCnct right;
|
||||
int level;
|
||||
void srchfzk(JREC * jrec, unsigned char * yptr, TypeCnct right, int level)
|
||||
{
|
||||
unsigned char* fzk;
|
||||
int len = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue