[RFA] Fix mingw64 compilation

Pierre Muller
2012-03-16T10:17:26Z

One more native target
that was not yet fixed for -Wmissing-prototypes
option.

This is a simple adaptation of what
is in i386-windows-nat.c.

I didn't use OBVIOUS rule
as I don't know if there was a 'better'
comment to put before...

Pierre Muller
GDB pascal language maintainer

2012-03-16 Pierre Muller <muller@ics.u-strasbg.fr>

* amd64-windows-nat.c (_initialize_amd64_windows_nat):
Add missing prototype.

Index: amd64-windows-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/amd64-windows-nat.c,v
retrieving revision 1.7
diff -u -p -r1.7 amd64-windows-nat.c
--- amd64-windows-nat.c 4 Jan 2012 08:16:56 -0000 1.7
+++ amd64-windows-nat.c 16 Mar 2012 10:12:46 -0000
@@ -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)
{