X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=src%2Fcomet2monitor.c;h=1f08637a61632937bec8e8074ff300b28afa600c;hp=10872858ed3db4960f02ad6a5b194145735c20bb;hb=HEAD;hpb=8808be96beb5502d13c0cd957b9fc3cec72ac6e3 diff --git a/src/comet2monitor.c b/src/comet2monitor.c index 1087285..1f08637 100644 --- a/src/comet2monitor.c +++ b/src/comet2monitor.c @@ -1,5 +1,6 @@ #include "package.h" #include "exec.h" +#include "load.h" /** * comet2monitorコマンドのオプション @@ -34,9 +35,12 @@ void addcerrlist_comet2monitor() */ int main(int argc, char *argv[]) { - int memsize = DEFAULT_MEMSIZE, clocks = DEFAULT_CLOCKS; - int opt, stat = 0; - const char *version = PACKAGE_VERSION, *cmdversion = "comet2monitor: COMET II machine code monitor of YACASL2 version %s\n"; + int memsize = DEFAULT_MEMSIZE; + int clocks = DEFAULT_CLOCKS; + int opt = 0; + int stat = 0; + const char *version = PACKAGE_VERSION; + const char *cmdversion = "comet2monitor: COMET II machine code monitor of YACASL2 version %s\n"; const char *usage = "Usage: %s [-vh] [-M ] [-C ]\n"; /* エラーの定義 */