From 78ec0b30e02f01b667a0f42e545069ee246615fc Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 18 Dec 2012 19:25:24 +0000 Subject: * symfile.c (list_overlays_command, map_overlay_command) (unmap_overlay_command): Now static. --- gdb/symfile.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'gdb/symfile.c') 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; -- cgit v1.2.1