From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28217 invoked by alias); 10 Mar 2012 21:53:02 -0000 Received: (qmail 28209 invoked by uid 22791); 10 Mar 2012 21:53:02 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_BT,TW_DB,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 10 Mar 2012 21:52:44 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2ALqiYr012701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 10 Mar 2012 16:52:44 -0500 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q2ALqfDb032086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 10 Mar 2012 16:52:43 -0500 Message-ID: <4F5BCD29.9010500@redhat.com> Date: Sat, 10 Mar 2012 21:53:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: insight Subject: [PATCH] Add missing prototypes Content-Type: multipart/mixed; boundary="------------040707020107070708080809" X-IsSubscribed: yes 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/msg00016.txt.bz2 This is a multi-part message in MIME format. --------------040707020107070708080809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 279 Hi, Gdb recently added -Wmissing-prototypes. This patch fixes the one build regression caused by this. Keith ChangeLog 2012-03-10 Keith Seitz * generic/gdbtk-interp.c (_initialize_gdbtk_interp): Add missing prototype to appease -Wmissing-prototypes. --------------040707020107070708080809 Content-Type: text/x-patch; name="missing-proto.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="missing-proto.patch" Content-length: 826 Index: generic/gdbtk-interp.c =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-interp.c,v retrieving revision 1.11 diff -u -p -r1.11 gdbtk-interp.c --- generic/gdbtk-interp.c 2 Nov 2011 19:44:37 -0000 1.11 +++ generic/gdbtk-interp.c 10 Mar 2012 21:51:32 -0000 @@ -1,7 +1,7 @@ /* Insight Definitions for GDB, the GNU debugger. Written by Keith Seitz - Copyright (C) 2003, 2004, 2008, 2011 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2008, 2011, 2012 Free Software Foundation, Inc. This file is part of Insight. @@ -42,6 +42,7 @@ static void gdbtk_command_loop (void); static void hack_disable_interpreter_exec (char *, int); +void _initialize_gdbtk_interp (void); struct gdbtk_interp_data { --------------040707020107070708080809--