From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6425 invoked by alias); 16 Mar 2012 10:17:26 -0000 Received: (qmail 6414 invoked by uid 22791); 16 Mar 2012 10:17:23 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.157) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Mar 2012 10:17:08 +0000 Received: from md2.u-strasbg.fr (md2.u-strasbg.fr [IPv6:2001:660:2402::187]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id q2GAH6ZF043389 for ; Fri, 16 Mar 2012 11:17:06 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms5.u-strasbg.fr [130.79.204.14]) by md2.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id q2GAH5HO077106 for ; Fri, 16 Mar 2012 11:17:05 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id q2GAH51X031566 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 16 Mar 2012 11:17:05 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: Subject: [RFA] Fix mingw64 compilation Date: Fri, 16 Mar 2012 10:17:00 -0000 Message-ID: <001f01cd035d$f16396d0$d42ac470$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00595.txt.bz2 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 * 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) {