More "bool" fixes

A few more variables passed as pointers which are now defined as bool *.
This commit is contained in:
H. Peter Anvin 2007-10-11 10:12:58 -07:00
parent f8ba53eb2a
commit 51cbf4a1fa
2 changed files with 3 additions and 2 deletions

View File

@ -669,7 +669,8 @@ static int32_t ieee_segment(char *name, int pass, int *bits)
return seghead->index;
} else {
struct ieeeSection *seg;
int ieee_idx, attrs, rn_error;
int ieee_idx, attrs;
bool rn_error;
char *p;
/*

View File

@ -146,7 +146,7 @@ int stdscan(void *private_data, struct tokenval *tv)
return tv->t_type = TOKEN_NUM;
} else if (*stdscan_bufptr == '\'' || *stdscan_bufptr == '"') { /* a char constant */
char quote = *stdscan_bufptr++, *r;
int rn_warn;
bool rn_warn;
r = tv->t_charptr = stdscan_bufptr;
while (*stdscan_bufptr && *stdscan_bufptr != quote)
stdscan_bufptr++;