X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=src%2Fcmd.c;h=df936827b2d1c508f414c9c006ec0f3d9496d5a3;hp=aba0edd3e6c077e44494e9928b181795bd3ae9c3;hb=00d4ba02d732a0ff14c402bddc14c713c9b392d8;hpb=bc0df14951032b54c9da8b21068aac4a6a834289 diff --git a/src/cmd.c b/src/cmd.c index aba0edd..df93682 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -97,21 +97,6 @@ WORD getcmdcode(const char *cmd, CMDTYPE type) return 0xFFFF; } -/* 命令と命令タイプがキーのハッシュ表を表示する */ -void print_cmdtype_code() -{ - int i; - CMDCODETAB *np; - for(i = 0; i < cmdcodesize; i++){ - np = cmdtype_code[i]; - while(np != NULL) { - fprintf(stdout, "(%2d) - %s\t0%02o\t#%04X\n", - i, np->cca->cmd, np->cca->type, np->cca->code); - np = np->next; - } - } -} - /* 命令と命令タイプがキーのハッシュ表を解放する */ void free_cmdtype_code() { @@ -175,19 +160,6 @@ CMDTYPE getcmdtype(WORD code) return NONE; } -/* 命令コードがキーのハッシュ表を表示する */ -void print_code_type() -{ - int i; - CMDCODETAB *np; - for(i = 0; i < cmdcodesize; i++){ - for(np = code_type[i]; np != NULL; np = np->next) { - fprintf(stdout, "(%2d) - #%04X\t0%02o\t%s\n", - i, np->cca->code, np->cca->type, np->cca->cmd); - } - } -} - /* 命令コードがキーのハッシュ表を解放する */ void free_code_type() {