aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2012-03-16 10:54:39 +0000
committerPierre Muller <muller@sourceware.org>2012-03-16 10:54:39 +0000
commit3d3546540f5462a49377536a249ed47dabf218f6 (patch)
tree7b1686618eac71b488e02284db58526f24dcbaeb /gdb
parentcafe75b06b2346a00c5a53dedec28e83c11c3a6a (diff)
downloadgdb-3d3546540f5462a49377536a249ed47dabf218f6.zip
gdb-3d3546540f5462a49377536a249ed47dabf218f6.tar.gz
gdb-3d3546540f5462a49377536a249ed47dabf218f6.tar.bz2
* amd64-windows-nat.c (_initialize_amd64_windows_nat):
Add missing prototype.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/amd64-windows-nat.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e4c225a..ebe8683 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-16 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * amd64-windows-nat.c (_initialize_amd64_windows_nat):
+ Add missing prototype.
+
2012-03-16 Yao Qi <yao@codesourcery.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
diff --git a/gdb/amd64-windows-nat.c b/gdb/amd64-windows-nat.c
index 49119d1..bc2c047 100644
--- a/gdb/amd64-windows-nat.c
+++ b/gdb/amd64-windows-nat.c
@@ -85,6 +85,9 @@ static const int mappings[] =
};
#undef context_offset
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_amd64_windows_nat;
+
void
_initialize_amd64_windows_nat (void)
{