X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=src%2Flabel.c;h=9124b5cc70a58c276eb2da7fc710ae929e045b92;hp=2c4214e087d6bd86ccf97efd355f1516a9dbf8b5;hb=7f7bde5dd1305cfc598fe09030c69aad0dc01368;hpb=d1f82970bf7d41db2fea11b08cd8e308f6cb8138 diff --git a/src/label.c b/src/label.c index 2c4214e..9124b5c 100644 --- a/src/label.c +++ b/src/label.c @@ -11,12 +11,6 @@ static int labelcnt = 0; /* ラベル数 */ static LABELTAB *labels[LABELTABSIZE]; /* ラベル表 */ -#ifndef UNITTEST -static unsigned labelhash(const char *prog, const char *label); - -static int compare_adr(const void *a, const void *b); -#endif - /** * プログラム名とラベルに対応するハッシュ値を返す */ @@ -38,7 +32,7 @@ unsigned labelhash(const char *prog, const char *label) } /** - * ラベル表からアドレスを検索する + * プログラム名とラベルに対応するアドレスをラベル表から検索する */ WORD getlabel(const char *prog, const char *label) {