From ad32032e2e1a386cbda9879e796125d2e0301dc9 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 14 Dec 2011 14:34:59 +0000 Subject: [PATCH] Make decode_line_internal static. gdb/ChangeLog: * linespec.c (decode_line_internal): Make static. --- gdb/ChangeLog | 4 ++++ gdb/linespec.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ce905fbd30..e40514104a3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-12-14 Joel Brobecker + + * linespec.c (decode_line_internal): Make static. + 2011-12-14 Yao Qi * breakpoint.c (create_breakpoint): Set canonical.addr_string diff --git a/gdb/linespec.c b/gdb/linespec.c index 0ac54f72e4f..cdfb59c0090 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; -- 2.30.2