* buildsym.h (subfiles): Move ...
authorDoug Evans <dje@google.com>
Thu, 15 Nov 2007 22:54:22 +0000 (22:54 +0000)
committerDoug Evans <dje@google.com>
Thu, 15 Nov 2007 22:54:22 +0000 (22:54 +0000)
* buildsym.c (subfiles): ... to here and make static.

gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h

index afb6351735bc0f641f5f9d17f08749e2f5944610..a88d2bdcbff75bbf75d81094173e497c6773eb73 100644 (file)
@@ -1,5 +1,8 @@
 2007-11-15  Doug Evans  <dje@google.com>
 
+       * buildsym.h (subfiles): Move ...
+       * buildsym.c (subfiles): ... to here and make static.
+
        * symmisc.c (maintenance_info_symtabs): Print linetable info.
 
 2007-11-15  Markus Deuling  <deuling@de.ibm.com>
index 0b1a52635fdcd30fc4dc7aa8ef3dfdcb52227155..0bba94ab529f13fa1e2cc8052d3aa4dd7ea5e0f0 100644 (file)
 
 #include "stabsread.h"
 
+/* List of subfiles.  */
+
+static struct subfile *subfiles;
+
 /* List of free `struct pending' structures for reuse.  */
 
 static struct pending *free_pendings;
index cb16be19c3071416a349df76bb6418518768cd4a..16affd9528ab68d0aa1b0fc792dc6beb3478ecd9 100644 (file)
@@ -71,8 +71,6 @@ struct subfile
     struct symtab *symtab;
   };
 
-EXTERN struct subfile *subfiles;
-
 EXTERN struct subfile *current_subfile;
 
 /* Global variable which, when set, indicates that we are processing a