From 745b8ca0fc4d987837a24d1ed5f53006478d2716 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 8 Feb 2000 04:39:02 +0000 Subject: 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. --- gdb/ch-lang.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/ch-lang.c') diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c index d56a2dc..cf63257 100644 --- a/gdb/ch-lang.c +++ b/gdb/ch-lang.c @@ -26,6 +26,7 @@ #include "parser-defs.h" #include "language.h" #include "ch-lang.h" +#include "valprint.h" extern void _initialize_chill_language PARAMS ((void)); @@ -127,8 +128,6 @@ chill_printstr (stream, string, length, width, force_ellipses) int in_control_form = 0; int need_slashslash = 0; unsigned int c; - extern int repeat_count_threshold; - extern int print_max; if (length == 0) { -- cgit v1.1