X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fdumpword.c;h=d0afa9f8457d1b2753f0cedb8c43dd1b99265aa1;hb=373540e9b114c01712121c36b40f47a98e12d263;hp=7e7d00a9a6990adef32c9cea6a548c0ceca8dea1;hpb=0d225ac1f580c59da7a063ef52da35c0af254dd3;p=YACASL2.git diff --git a/src/dumpword.c b/src/dumpword.c index 7e7d00a..d0afa9f 100644 --- a/src/dumpword.c +++ b/src/dumpword.c @@ -1,8 +1,9 @@ #define _GNU_SOURCE +#include +#include #include #include "word.h" #include "cerr.h" -#include "cmem.h" static struct option longopts[] = { { "arithmetic", no_argument, NULL, 'a' }, @@ -11,9 +12,12 @@ static struct option longopts[] = { { 0, 0, 0, 0 }, }; +/** + * dumpwordコマンドのメイン + */ int main(int argc, char *argv[]) { - bool logicalmode = false; /* レジストリの内容を論理値(0〜65535)で表示する場合はtrue */ + bool logicalmode = false; /* レジストリの内容を論理値(0から65535)で表示する場合はtrue */ int opt; WORD word; const char *usage = "Usage: %s [-alh] WORD\n";