This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 2/4] Make procfs.c:proc_get_LDT_entry static
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Thu, 20 Sep 2012 18:33:59 +0200
- Subject: [PATCH 2/4] Make procfs.c:proc_get_LDT_entry static
- References: <1348158841-2313-1-git-send-email-brobecker@adacore.com>
This function is not used outside of procfs.c.
gdb/ChangeLog:
* procfs.c (proc_get_LDT_entry): Make static.
---
gdb/procfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 3583e8e..6ba5bd1 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -2516,7 +2516,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;
--
1.6.5.rc2