projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
モードを構造体に記述するように内部構造を変更
[YACASL2.git]
/
src
/
dumpword.c
diff --git
a/src/dumpword.c
b/src/dumpword.c
index
cefbc0f
..
7544f25
100644
(file)
--- a/
src/dumpword.c
+++ b/
src/dumpword.c
@@
-16,16
+16,13
@@
CERRARRAY cerr[] = {
{ 0, NULL },
};
{ 0, NULL },
};
-/* レジストリの内容を論理値(0〜65535)で表示する場合はtrue */
-bool logicalmode = false;
-
int main(int argc, char *argv[])
{
int main(int argc, char *argv[])
{
+ bool logicalmode = false; /* レジストリの内容を論理値(0〜65535)で表示する場合はtrue */
int opt;
WORD word;
const char *usage = "Usage: %s [-alh] WORD\n";
int opt;
WORD word;
const char *usage = "Usage: %s [-alh] WORD\n";
- logicalmode = false;
while((opt = getopt_long(argc, argv, "alh", longopts, NULL)) != -1) {
switch(opt) {
case 'l':
while((opt = getopt_long(argc, argv, "alh", longopts, NULL)) != -1) {
switch(opt) {
case 'l':