aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-04 06:46:30 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-04 06:46:30 +0000
commit9bba3334a0c5925f924d0c0c1e61af2ff9da5e17 (patch)
treea78639e0d02c9353cb18c2423a31be258d3fbe6e /gdb/dbxread.c
parent5b0a744f98759f3b51b4362f25b497d0da9c16d1 (diff)
downloadgdb-9bba3334a0c5925f924d0c0c1e61af2ff9da5e17.zip
gdb-9bba3334a0c5925f924d0c0c1e61af2ff9da5e17.tar.gz
gdb-9bba3334a0c5925f924d0c0c1e61af2ff9da5e17.tar.bz2
* dbxread.c, coffread.c: static-ize functions that were
gratuitiously external. (From Fred Fish.)
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index c201f43..b41a1ca 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -491,7 +491,7 @@ static int header_file_prev_index;
/* Free up old header file tables, and allocate new ones.
We're reading a new symbol file now. */
-void
+static void
free_and_init_header_files ()
{
register int i;
@@ -1233,7 +1233,7 @@ pop_subfile ()
return name;
}
-void
+static void
record_misc_function (name, address, type)
char *name;
CORE_ADDR address;
@@ -1271,7 +1271,7 @@ static bfd *symfile_bfd;
MAINLINE is true if we are reading the main symbol
table (as opposed to a shared lib or dynamically loaded file). */
-void
+static void
dbx_symfile_read (sf, addr, mainline)
struct sym_fns *sf;
CORE_ADDR addr;
@@ -1338,7 +1338,7 @@ dbx_symfile_read (sf, addr, mainline)
symbol file is specified (not just adding some symbols from another
file, e.g. a shared library). */
-void
+static void
dbx_new_init ()
{
/* Empty the hash table of global syms looking for values. */
@@ -1373,7 +1373,7 @@ dbx_new_init ()
be called unless this is an a.out (or very similar) file.
FIXME, there should be a cleaner peephole into the BFD environment here. */
-void
+static void
dbx_symfile_init (sf)
struct sym_fns *sf;
{
@@ -1562,7 +1562,7 @@ add_bincl_to_list (pst, name, instance)
bincl in the list. Return the partial symtab associated
with that header_file_location. */
-struct partial_symtab *
+static struct partial_symtab *
find_corresponding_bincl_psymtab (name, instance)
char *name;
int instance;