From 6bb1b8168d68db8d5ff001e0bccc86a95bcb14ba Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sun, 14 Mar 2010 01:14:14 +0900 Subject: [PATCH] =?utf8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E8=BF=BD=E5=8A=A0?= =?utf8?q?=E6=99=82=E3=81=AE=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/casl2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/casl2.c b/src/casl2.c index 944ed40..989bbe7 100644 --- a/src/casl2.c +++ b/src/casl2.c @@ -29,7 +29,7 @@ CERRARRAY cerr_casl2[] = { }; bool addcerrlist_casl2() { - return addcerrlist_casl2(ARRAYSIZE(cerr_casl2), cerr_casl2); + return addcerrlist(sizeof(cerr_casl2), cerr_casl2); } /* 指定されたファイルにアセンブル結果を書込 */ @@ -117,9 +117,7 @@ int main(int argc, char *argv[]) } } - #if 0 addcerrlist_casl2(); - #endif /* ソースファイルが指定されていない場合は終了 */ if(argv[optind] == NULL) { setcerr(126, NULL); /* source file is not specified */ -- 2.18.0