This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] Fix mingw64 compilation
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: <gdb-patches at sourceware dot org>
- Date: Fri, 16 Mar 2012 11:17:07 +0100
- Subject: [RFA] Fix mingw64 compilation
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)
{