X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flabel.c;h=9124b5cc70a58c276eb2da7fc710ae929e045b92;hb=de18494f8acd2f8ca87b86c54bfee1c2094c0d83;hp=2c4214e087d6bd86ccf97efd355f1516a9dbf8b5;hpb=d1f82970bf7d41db2fea11b08cd8e308f6cb8138;p=YACASL2.git 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) {