Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] Fix mingw64 compilation
@ 2012-03-16 10:17 Pierre Muller
  0 siblings, 0 replies; 3+ messages in thread
From: Pierre Muller @ 2012-03-16 10:17 UTC (permalink / raw)
  To: gdb-patches

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)
 {


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <4f631340.65b1b60a.6213.14dfSMTPIN_ADDED@mx.google.com>]

end of thread, other threads:[~2012-03-16 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-16 10:17 [RFA] Fix mingw64 compilation Pierre Muller
     [not found] <4f631340.65b1b60a.6213.14dfSMTPIN_ADDED@mx.google.com>
2012-03-16 10:27 ` Pedro Alves
2012-03-16 10:55   ` Pierre Muller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox