summaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-18 19:25:24 +0000
committerTom Tromey <tromey@redhat.com>2012-12-18 19:25:24 +0000
commit78ec0b30e02f01b667a0f42e545069ee246615fc (patch)
tree1de3a3a8e0d61b323e735b2b733b25c407ed054c /gdb/symfile.c
parent5cb7dbffec5a4ebc9d67fa0b0dc66a311e1c283f (diff)
downloadgdb-78ec0b30e02f01b667a0f42e545069ee246615fc.tar.gz
* symfile.c (list_overlays_command, map_overlay_command)
(unmap_overlay_command): Now static.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index fc908b3caab..33113c30c4f 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -100,12 +100,6 @@ static void decrement_reading_symtab (void *);
static void overlay_invalidate_all (void);
-void list_overlays_command (char *, int);
-
-void map_overlay_command (char *, int);
-
-void unmap_overlay_command (char *, int);
-
static void overlay_auto_command (char *, int);
static void overlay_manual_command (char *, int);
@@ -3296,7 +3290,7 @@ find_pc_mapped_section (CORE_ADDR pc)
/* Function: list_overlays_command
Print a list of mapped sections and their PC ranges. */
-void
+static void
list_overlays_command (char *args, int from_tty)
{
int nmapped = 0;
@@ -3336,7 +3330,7 @@ list_overlays_command (char *args, int from_tty)
/* Function: map_overlay_command
Mark the named section as mapped (ie. residing at its VMA address). */
-void
+static void
map_overlay_command (char *args, int from_tty)
{
struct objfile *objfile, *objfile2;
@@ -3381,7 +3375,7 @@ map_overlay_command (char *args, int from_tty)
Mark the overlay section as unmapped
(ie. resident in its LMA address range, rather than the VMA range). */
-void
+static void
unmap_overlay_command (char *args, int from_tty)
{
struct objfile *objfile;