From a6d682a05f5362131d39cd689aac16ac6177b7e2 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sat, 28 Jun 2003 00:42:31 +0000 Subject: [PATCH] dbxout.c (flag_debug_only_used_symbols): Delete redundant declaration. * dbxout.c (flag_debug_only_used_symbols): Delete redundant declaration. f: * com.c (input_file_stack_tick): Delete redundant declaration. java: * gjavah.c (flag_jni): Make non-static. * parse-scan.y (ctxp): Make non-static. From-SVN: r68624 --- gcc/ChangeLog | 3 +++ gcc/dbxout.c | 2 -- gcc/f/ChangeLog | 8 ++++++-- gcc/f/com.c | 1 - gcc/java/ChangeLog | 3 +++ gcc/java/gjavah.c | 2 +- gcc/java/parse-scan.y | 2 +- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d30b4db4ca8f..f073ea797345 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2003-06-27 Zack Weinberg + * dbxout.c (flag_debug_only_used_symbols): Delete redundant + declaration. + * c-format.c (check_format_string, get_constant) * cfgrtl.c (rtl_split_edge): Mark the definition static, matching the forward declaration. diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 71557486a4d7..631e175dfb12 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -93,8 +93,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "xcoffout.h" #endif -extern int flag_debug_only_used_symbols; - #undef DBXOUT_DECR_NESTING #define DBXOUT_DECR_NESTING \ if (--debug_nesting == 0 && symbol_queue_index > 0) \ diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index e1ac7ac5b914..0153618575f6 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,7 @@ +2003-06-27 Zack Weinberg + + * com.c (input_file_stack_tick): Delete redundant declaration. + Thu Jun 26 07:06:29 2003 Neil Booth * top.c (ffe_handle_option): Don't check for missing arguments. @@ -45,8 +49,8 @@ Sat Jun 14 13:25:00 2003 Neil Booth 2003-06-13 Richard Henderson PR debug/9864 - * com.c (ffecom_sym_transform_): Install FFEINFO_whereGLOBAL - symbols in the global binding level. + * com.c (ffecom_sym_transform_): Install FFEINFO_whereGLOBAL + symbols in the global binding level. Sun Jun 8 15:42:09 2003 Neil Booth diff --git a/gcc/f/com.c b/gcc/f/com.c index 098cb3db7219..56ad42bf9814 100644 --- a/gcc/f/com.c +++ b/gcc/f/com.c @@ -15125,7 +15125,6 @@ static struct file_buf { } instack[INPUT_STACK_MAX]; static int last_error_tick = 0; /* Incremented each time we print it. */ -static int input_file_stack_tick = 0; /* Incremented when status changes. */ /* Current nesting level of input sources. `instack[indepth]' is the level currently being read. */ diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 655111c18da7..885525bacb05 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,5 +1,8 @@ 2003-06-27 Zack Weinberg + * gjavah.c (flag_jni): Make non-static. + * parse-scan.y (ctxp): Make non-static. + * class.c (build_method_symbols_entry) * expr.c (get_offset_table_index) * jcf-parse.c (jcf_parse): diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index 80cccd12a98f..10c5ef851fbb 100644 --- a/gcc/java/gjavah.c +++ b/gcc/java/gjavah.c @@ -52,7 +52,7 @@ FILE *out = NULL; static int found_error = 0; /* Nonzero if we're generating JNI output. */ -static int flag_jni = 0; +int flag_jni = 0; /* When nonzero, warn when source file is newer than matching class file. */ diff --git a/gcc/java/parse-scan.y b/gcc/java/parse-scan.y index 37d79d9240ba..3034e66ad2db 100644 --- a/gcc/java/parse-scan.y +++ b/gcc/java/parse-scan.y @@ -55,7 +55,7 @@ location_t input_location; struct obstack temporary_obstack; /* The current parser context. */ -static struct parser_ctxt *ctxp; +struct parser_ctxt *ctxp; /* Error and warning counts, because they're used elsewhere */ int java_error_count; -- 2.47.2