From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18724 invoked by alias); 19 Mar 2012 12:10:44 -0000 Received: (qmail 18710 invoked by uid 22791); 19 Mar 2012 12:10:43 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,TW_FD X-Spam-Check-By: sourceware.org Received: from outdoor.onevision.de (HELO outdoor.onevision.de) (212.77.172.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Mar 2012 12:10:19 +0000 Received: from sanders.onevision.de (moonrace [212.77.172.62]) by outdoor.onevision.de (8.14.3/8.13.7/ROSCH/DDB) with ESMTP id q2JCADcQ019563 for ; Mon, 19 Mar 2012 13:10:18 +0100 Received: from [192.168.5.32] ([192.168.5.32]) by sanders.onevision.de (Lotus Domino Release 8.5.1FP3) with ESMTP id 2012031913100826-119315 ; Mon, 19 Mar 2012 13:10:08 +0100 Message-ID: <4F67221F.2020906@onevision.com> Date: Mon, 19 Mar 2012 12:10:00 -0000 From: Roland Schwingel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: insight@sourceware.org Subject: [PATCH] Add missing prototype in gdbtk.c Content-Type: multipart/mixed; boundary="------------060101080403070207000509" Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2012-q1/txt/msg00027.txt.bz2 This is a multi-part message in MIME format. --------------060101080403070207000509 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-length: 337 Hi... In gdbtk.c there is a protoype missing for the windows only function close_bfds(). This is required due to recently enabled -Wmissing-prototype compilation. Changelog: 2012-03-19 Roland Schwingel * generic/gdbtk.c: Add prototype for close_bfds(). Any comments? Is this ok? Roland --------------060101080403070207000509 Content-Transfer-Encoding: 7bit Content-Type: text/plain; name="missing_prototype_gdbtk.c.patch" Content-Disposition: attachment; filename="missing_prototype_gdbtk.c.patch" Content-length: 518 Index: //subnet-homes/Entwicklung/User/roland/local/gdb/head/source/gdb/gdbtk/generic/gdbtk.c =================================================================== --- //subnet-homes/Entwicklung/User/roland/local/gdb/head/source/gdb/gdbtk/generic/gdbtk.c (revision 115571) +++ //subnet-homes/Entwicklung/User/roland/local/gdb/head/source/gdb/gdbtk/generic/gdbtk.c (working copy) @@ -165,6 +165,8 @@ * this will cost us if and when we need to reopen it. */ +extern void close_bfds (void); + void close_bfds () { --------------060101080403070207000509--