projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doxygen用にコメント修正。関数のstatic指定を外す
[YACASL2.git]
/
src
/
cmd.c
diff --git
a/src/cmd.c
b/src/cmd.c
index
258c491
..
fc5da13
100644
(file)
--- a/
src/cmd.c
+++ b/
src/cmd.c
@@
-8,7
+8,7
@@
/**
* 機械語命令のリスト
*/
/**
* 機械語命令のリスト
*/
-CMD comet2cmd[] = {
+
static
CMD comet2cmd[] = {
{ "NOP", NONE, 0x0 },
{ "LD", R_ADR_X_, 0x1000 },
{ "ST", R_ADR_X, 0x1100 },
{ "NOP", NONE, 0x0 },
{ "LD", R_ADR_X_, 0x1000 },
{ "ST", R_ADR_X, 0x1100 },
@@
-64,12
+64,6
@@
static int cmdtabsize;
*/
static CMDTAB **cmdtype_code, **code_type;
*/
static CMDTAB **cmdtype_code, **code_type;
-#ifndef UNITTEST
-static unsigned hash_cmdtype(const char *cmd, CMDTYPE type);
-
-static unsigned hash_code(WORD code);
-#endif
-
/**
* 命令の名前とタイプからハッシュ値を生成する
*/
/**
* 命令の名前とタイプからハッシュ値を生成する
*/