public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [commit] Make decode_line_internal static.
@ 2011-12-14 14:56 Joel Brobecker
  0 siblings, 0 replies; only message in thread
From: Joel Brobecker @ 2011-12-14 14:56 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

This is something that I noticed and Tom confirmed that the function
was meant to be static.  So this patch fixes it.

gdb/ChangeLog:

	* linespec.c (decode_line_internal): Make static.

Tested by rebuilding GDB.  Checked in.

---
 gdb/ChangeLog  |    4 ++++
 gdb/linespec.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9ce905f..e405141 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-14  Joel Brobecker  <brobecker@adacore.com>
+
+	* linespec.c (decode_line_internal): Make static.
+
 2011-12-14  Yao Qi  <yao@codesourcery.com>
 
 	* breakpoint.c (create_breakpoint): Set canonical.addr_string
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 0ac54f7..cdfb59c 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -835,7 +835,7 @@ keep_name_info (char *p, int on_boundary)
    lack of single quotes.  FIXME: write a linespec_completer which we
    can use as appropriate instead of make_symbol_completion_list.  */
 
-struct symtabs_and_lines
+static struct symtabs_and_lines
 decode_line_internal (struct linespec_state *self, char **argptr)
 {
   char *p;
-- 
1.7.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-14 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-14 14:56 [commit] Make decode_line_internal static Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).