aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-03-12 14:15:22 +0000
committerTom Tromey <tromey@redhat.com>2012-03-12 14:15:22 +0000
commit0b49e518cdac0679d9db7038e7e59fea45bcecd4 (patch)
treeea5a0a3cf111da2540def95068d4f49058f60d54 /gdb/buildsym.c
parentfd24fa94347ea8a7d2e9aefbbcdbbce335052c4c (diff)
downloadgdb-0b49e518cdac0679d9db7038e7e59fea45bcecd4.zip
gdb-0b49e518cdac0679d9db7038e7e59fea45bcecd4.tar.gz
gdb-0b49e518cdac0679d9db7038e7e59fea45bcecd4.tar.bz2
* buildsym.c (record_pending_block): Now static.
* buildsym.h: (record_pending_block): Remove.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index a7f141e..fb13162 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -85,6 +85,10 @@ static int pending_addrmap_interesting;
static int compare_line_numbers (const void *ln1p, const void *ln2p);
+
+static void record_pending_block (struct objfile *objfile,
+ struct block *block,
+ struct pending_block *opblock);
/* Initial sizes of data structures. These are realloc'd larger if
@@ -400,7 +404,7 @@ finish_block (struct symbol *symbol, struct pending **listhead,
Allocate the pending block struct in the objfile_obstack to save
time. This wastes a little space. FIXME: Is it worth it? */
-void
+static void
record_pending_block (struct objfile *objfile, struct block *block,
struct pending_block *opblock)
{