Make procfs.c:proc_get_LDT_entry static
authorJoel Brobecker <brobecker@gnat.com>
Thu, 27 Sep 2012 12:51:57 +0000 (12:51 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 27 Sep 2012 12:51:57 +0000 (12:51 +0000)
This function is not used outside of procfs.c.

gdb/ChangeLog:

        * procfs.c (proc_get_LDT_entry): Make static.

gdb/ChangeLog
gdb/procfs.c

index 0c713e1b912485f464255f8e86a245e738c7de18..a61ac6436338204970546d4ca5928305057fa024 100644 (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.
index 38c2c66244076c167482c248f15288ea4ff1abc1..c03165abed93c1505ae6ce1803e52853050d2277 100644 (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;
This page took 0.032727 seconds and 4 git commands to generate.