OSDN Git Service

* cp-tree.h (warn_return_type, yylex): Delete redundant
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Apr 2001 22:31:56 +0000 (22:31 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Apr 2001 22:31:56 +0000 (22:31 +0000)
declarations.

* decl.c (current_class_depth, global_namespace): Likewise.

* decl2.c (current_class_depth, flag_gnu_xref): Likewise

* repo.c (flag_use_repository): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41314 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/repo.c

index 05d1b74..8a00437 100644 (file)
@@ -1,5 +1,16 @@
 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
+       * cp-tree.h (warn_return_type, yylex): Delete redundant
+       declarations.
+       
+       * decl.c (current_class_depth, global_namespace): Likewise.
+
+       * decl2.c (current_class_depth, flag_gnu_xref): Likewise
+
+       * repo.c (flag_use_repository): Likewise.
+
+2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
        * cp-tree.h (pedantic, convert, global_bindings_p, insert_block,
        set_block, pushdecl, getdecls, gettags, init_decl_processing,
        maybe_build_cleanup, copy_lang_decl, prep_stmt, lvalue_p,
index b14fa92..8e8574d 100644 (file)
@@ -1009,11 +1009,6 @@ extern int warn_implicit;
 
 extern int warn_ctor_dtor_privacy;
 
-/* Nonzero means warn about function definitions that default the return type
-   or that use a null return and have a return-type other than void.  */
-
-extern int warn_return_type;
-
 /* Nonzero means warn about deprecated conversion from string constant to
    `char *'.  */
 
@@ -4317,7 +4312,6 @@ extern tree finish_global_stmt_expr             PARAMS ((tree));
 /* in spew.c */
 extern void init_spew                          PARAMS ((void));
 extern int peekyylex                           PARAMS ((void));
-extern int yylex                               PARAMS ((void));
 extern tree arbitrate_lookup                   PARAMS ((tree, tree, tree));
 extern tree frob_opname                         PARAMS ((tree));
 extern void maybe_snarf_defarg                 PARAMS ((void));
index 0e97ad1..ac9f058 100644 (file)
@@ -44,10 +44,6 @@ Boston, MA 02111-1307, USA.  */
 #include "ggc.h"
 #include "tm_p.h"
 
-extern int current_class_depth;
-
-extern tree global_namespace;
-
 extern int (*valid_lang_attribute) PARAMS ((tree, tree, tree, tree));
 
 #ifndef BOOL_TYPE_SIZE
index ded15a7..d49df73 100644 (file)
@@ -92,8 +92,6 @@ static tree key_method PARAMS ((tree));
 static int compare_options PARAMS ((const PTR, const PTR));
 static tree get_guard_bits PARAMS ((tree));
 
-extern int current_class_depth;
-
 /* A list of static class variables.  This is needed, because a
    static class variable can be declared inside the class without
    an initializer, and then initialized, staticly, outside the class.  */
@@ -358,11 +356,6 @@ int flag_default_inline = 1;
 
 int flag_rtti = 1;
 
-/* Nonzero if we wish to output cross-referencing information
-   for the GNU class browser.  */
-
-extern int flag_gnu_xref;
-
 /* Nonzero if we want to support huge (> 2^(sizeof(short)*8-1) bytes)
    objects.  */
 
@@ -4164,8 +4157,6 @@ tree
 finish_decl_parsing (decl)
      tree decl;
 {
-  extern int current_class_depth;
-  
   switch (TREE_CODE (decl))
     {
     case IDENTIFIER_NODE:
index 897648a..6dfcafc 100644 (file)
@@ -48,7 +48,6 @@ static FILE *repo_file;
 
 static char *old_args, *old_dir, *old_main;
 
-extern int flag_use_repository;
 static struct obstack temporary_obstack;
 extern struct obstack permanent_obstack;