aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-09-27 12:51:57 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-09-27 12:51:57 +0000
commit337c776f026643dd234f96204d6ed2387d45b6ba (patch)
treea0e77e1ceeba9c68e6ea9e4e8615dfc70675708e /gdb/procfs.c
parent1a04d88fbcb248ee3156732cc38d7cff045cf117 (diff)
downloadgdb-337c776f026643dd234f96204d6ed2387d45b6ba.zip
gdb-337c776f026643dd234f96204d6ed2387d45b6ba.tar.gz
gdb-337c776f026643dd234f96204d6ed2387d45b6ba.tar.bz2
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.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 38c2c66..c03165a 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -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;