This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Add make_cleanup_free_command_lines declaration "extern".


Hello,

Something I happen to notice...

gdb/ChangeLog:

	* cli/cli-script.h (make_cleanup_free_command_lines): Make extern.

Tested on x86_64-linux by rebuilding GDB.
Checked in.

---
 gdb/ChangeLog        |    4 ++++
 gdb/cli/cli-script.h |    3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 18fb8ef..3c5a3f2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2013-01-01  Joel Brobecker  <brobecker@adacore.com>
 
+	* cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
+
+2013-01-01  Joel Brobecker  <brobecker@adacore.com>
+
 	Update year range in copyright notice of all files.
 
 2013-01-01  Joel Brobecker  <brobecker@adacore.com>
diff --git a/gdb/cli/cli-script.h b/gdb/cli/cli-script.h
index 9ac67ce..d1eb7e0 100644
--- a/gdb/cli/cli-script.h
+++ b/gdb/cli/cli-script.h
@@ -44,7 +44,8 @@ extern void print_command_lines (struct ui_out *,
 
 extern struct command_line * copy_command_lines (struct command_line *cmds);
 
-struct cleanup *make_cleanup_free_command_lines (struct command_line **arg);
+extern struct cleanup *
+  make_cleanup_free_command_lines (struct command_line **arg);
 
 /* Exported to gdb/infrun.c */
 
-- 
1.7.10.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]