aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gnu-nat.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 14f326e..f61a484 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2014-01-07 Yao Qi <yao@codesourcery.com>
+ * gnu-nat.c (_initialize_gnu_nat): Declare.
+
+2014-01-07 Yao Qi <yao@codesourcery.com>
+
* gdbarch.sh (byte_order, byte_order_for_code): Change type to
'enum bfd_endian'.
(struct gdbarch_info) <byte_order>: Change type to
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index a1af9aa..8c45dcf 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -3439,6 +3439,10 @@ to the thread's initial suspend-count when gdb notices the threads."),
}
+
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_gnu_nat;
+
void
_initialize_gnu_nat (void)
{