From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5844 invoked by alias); 29 Feb 2012 16:18:58 -0000 Received: (qmail 5835 invoked by uid 22791); 29 Feb 2012 16:18:57 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,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; Wed, 29 Feb 2012 16:18:40 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1TGIdMZ020925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 29 Feb 2012 11:18:39 -0500 Received: from hit-nxdomain.opendns.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q1TGIXRH010896 for ; Wed, 29 Feb 2012 11:18:39 -0500 Subject: [PATCH 07/14] -Wmissing-prototypes: inline-frame.c. To: gdb-patches@sourceware.org From: Pedro Alves Date: Wed, 29 Feb 2012 16:19:00 -0000 Message-ID: <20120229161833.23918.20984.stgit@hit-nxdomain.opendns.com> In-Reply-To: <20120229161628.23918.51354.stgit@hit-nxdomain.opendns.com> References: <20120229161628.23918.51354.stgit@hit-nxdomain.opendns.com> User-Agent: StGit/0.15 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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-02/txt/msg00709.txt.bz2 $ make WERROR_CFLAGS="-Wmissing-prototypes" inline-frame.o 1>/dev/null ../../src/gdb/inline-frame.c:113:1: warning: no previous prototype for ‘clear_inline_frame_state’ [-Wmissing-prototypes] ../../src/gdb/inline-frame.c:302:1: warning: no previous prototype for ‘skip_inline_frames’ [-Wmissing-prototypes] ../../src/gdb/inline-frame.c:351:1: warning: no previous prototype for ‘step_into_inline_frame’ [-Wmissing-prototypes] ../../src/gdb/inline-frame.c:364:1: warning: no previous prototype for ‘inline_skipped_frames’ [-Wmissing-prototypes] ../../src/gdb/inline-frame.c:378:1: warning: no previous prototype for ‘inline_skipped_symbol’ [-Wmissing-prototypes] ../../src/gdb/inline-frame.c:391:1: warning: no previous prototype for ‘frame_inlined_callees’ [-Wmissing-prototypes] A case of a module not including its own header. 2012-02-29 Pedro Alves * inline-frame.c: Include inline-frame.h. --- gdb/inline-frame.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gdb/inline-frame.c b/gdb/inline-frame.c index 3e2da73..06de5b0 100644 --- a/gdb/inline-frame.c +++ b/gdb/inline-frame.c @@ -18,6 +18,7 @@ along with this program. If not, see . */ #include "defs.h" +#include "inline-frame.h" #include "addrmap.h" #include "block.h" #include "frame-unwind.h"