Fix building with -DDEBUG.
This commit is contained in:
parent
1246bf7279
commit
61ea53372a
@ -96,6 +96,8 @@ struct flags {
|
||||
int mask;
|
||||
};
|
||||
|
||||
extern int doverbose;
|
||||
|
||||
static void parsefile(void);
|
||||
static char *getline(void);
|
||||
static char *next_tok(void);
|
||||
@ -744,7 +746,7 @@ iosize_tok(void)
|
||||
return 0;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
if (verbose)
|
||||
if (doverbose)
|
||||
printf("iosize: size=%x\n", iosize);
|
||||
#endif
|
||||
return iosize;
|
||||
|
@ -120,6 +120,7 @@ write_pid()
|
||||
}
|
||||
}
|
||||
|
||||
int doverbose = 0;
|
||||
/*
|
||||
* mainline code for cardd
|
||||
*/
|
||||
@ -128,7 +129,6 @@ main(int argc, char *argv[])
|
||||
{
|
||||
struct slot *slots, *sp;
|
||||
int count, dodebug = 0;
|
||||
int doverbose = 0;
|
||||
int delay = 0;
|
||||
int irq_arg[16];
|
||||
int irq_specified = 0;
|
||||
|
@ -120,7 +120,7 @@ readcis(int fd)
|
||||
|
||||
for (tl = cp->tlist; tl; tl = tl->next)
|
||||
for (tp = tl->tuples; tp; tp = tp->next) {
|
||||
#if DEBUG
|
||||
#if 0
|
||||
printf("tuple code = 0x%02x, data is\n", tp->code);
|
||||
dump(tp->data, tp->length);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user