summaryrefslogtreecommitdiff
path: root/gdb/f-lang.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>2000-02-08 04:39:02 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>2000-02-08 04:39:02 +0000
commit91b96b52927a7cb860f67c3220fa5129752f8b1c (patch)
treee6b824cba197e58e0484c4643da4abd6d4d7039a /gdb/f-lang.c
parent426174b521c529050e2e882b348440b402488f1f (diff)
downloadgdb-91b96b52927a7cb860f67c3220fa5129752f8b1c.tar.gz
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.
Diffstat (limited to 'gdb/f-lang.c')
-rw-r--r--gdb/f-lang.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/f-lang.c b/gdb/f-lang.c
index ddcefd0c536..53d92ec1509 100644
--- a/gdb/f-lang.c
+++ b/gdb/f-lang.c
@@ -28,6 +28,7 @@
#include "parser-defs.h"
#include "language.h"
#include "f-lang.h"
+#include "valprint.h"
/* The built-in types of F77. FIXME: integer*4 is missing, plain
logical is missing (builtin_type_logical is logical*4). */
@@ -175,8 +176,6 @@ f_printstr (stream, string, length, width, force_ellipses)
int in_quotes = 0;
int need_comma = 0;
extern int inspect_it;
- extern int repeat_count_threshold;
- extern int print_max;
if (length == 0)
{