Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: <gdb-patches@sourceware.org>
Subject: [RFA] Fix mingw64 compilation
Date: Fri, 16 Mar 2012 10:17:00 -0000	[thread overview]
Message-ID: <001f01cd035d$f16396d0$d42ac470$@muller@ics-cnrs.unistra.fr> (raw)

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


             reply	other threads:[~2012-03-16 10:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16 10:17 Pierre Muller [this message]
     [not found] <4f631340.65b1b60a.6213.14dfSMTPIN_ADDED@mx.google.com>
2012-03-16 10:27 ` Pedro Alves
2012-03-16 10:55   ` Pierre Muller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001f01cd035d$f16396d0$d42ac470$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox