From: Joel Brobecker Date: Thu, 27 Sep 2012 12:51:57 +0000 (+0000) Subject: Make procfs.c:proc_get_LDT_entry static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=337c776f026643dd234f96204d6ed2387d45b6ba;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0c713e1b912..a61ac643633 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-09-27 Joel Brobecker + + * procfs.c (proc_get_LDT_entry): Make static. + 2012-09-27 Joel Brobecker * procfs.c (proc_find_memory_regions): Fix declaration. diff --git a/gdb/procfs.c b/gdb/procfs.c index 38c2c662440..c03165abed9 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;