Convert K&R definitions to ANSI C

This commit is contained in:
Nishi 2026-06-18 14:01:01 +09:00
commit 6bea197400
45 changed files with 522 additions and 1074 deletions

View file

@ -221,9 +221,7 @@ static struct hlist {
{TANKANJI, "\303\261\264\301"},
{IKKATU, "\260\354\263\347"},
{0, 0}};
char* hns2str(code)
int code;
char* hns2str(int code)
{
struct hlist* p;
@ -234,9 +232,7 @@ int code;
return "ERROR";
}
int str2hns(str)
char* str;
int str2hns(char * str)
{
struct hlist* p;