This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Add make_cleanup_free_command_lines declaration "extern".
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Tue, 1 Jan 2013 11:40:14 +0400
- Subject: [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