forked from Imagelibrary/binutils-gdb
Clean up compiler warnings:
* bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c, stack.c, valprint.c: Change variables to unsigned. * bcache.c: Rearrange to avoid warnings about variables not being set. * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h rather than declaring print_max and repeat_count_threashold ourselves (incorrectly). * valprint.h: Do declare repeat_count_threashold. * ch-exp.c: Use default case for internal error. * findvar.c: Don't omit argument type. * symtab.c: Remove unused variable.
This commit is contained in:
@@ -31,6 +31,11 @@ extern int objectprint; /* Controls looking up an object's derived type
|
||||
|
||||
extern unsigned int print_max; /* Max # of chars for strings/vectors */
|
||||
|
||||
/* Print repeat counts if there are more than this many repetitions of an
|
||||
element in an array. Referenced by the low level language dependent
|
||||
print routines. */
|
||||
extern unsigned int repeat_count_threshold;
|
||||
|
||||
extern int output_format;
|
||||
|
||||
extern int stop_print_at_null; /* Stop printing at null char? */
|
||||
|
||||
Reference in New Issue
Block a user