Make procfs.c:proc_get_LDT_entry static

This function is not used outside of procfs.c.

gdb/ChangeLog:

        * procfs.c (proc_get_LDT_entry): Make static.
This commit is contained in:
Joel Brobecker
2012-09-27 12:51:57 +00:00
parent 1a04d88fbc
commit 337c776f02
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2012-09-27 Joel Brobecker <brobecker@adacore.com>
* procfs.c (proc_get_LDT_entry): Make static.
2012-09-27 Joel Brobecker <brobecker@adacore.com>
* procfs.c (proc_find_memory_regions): Fix declaration.

View File

@@ -2517,7 +2517,7 @@ proc_set_watchpoint (procinfo *pi, CORE_ADDR addr, int len, int wflags)
register for the LWP that we're interested in. Returns the
matching ssh struct (LDT entry). */
struct ssd *
static struct ssd *
proc_get_LDT_entry (procinfo *pi, int key)
{
static struct ssd *ldt_entry = NULL;