From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7103 invoked by alias); 29 Feb 2012 16:20:53 -0000 Received: (qmail 6952 invoked by uid 22791); 29 Feb 2012 16:20:50 -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:20:38 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1TGKcN3007422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 29 Feb 2012 11:20:38 -0500 Received: from hit-nxdomain.opendns.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q1TGKaQv018029 for ; Wed, 29 Feb 2012 11:20:37 -0500 Subject: [PATCH 11/14] -Wmissing-prototypes: observer.c's testsuite helpers. To: gdb-patches@sourceware.org From: Pedro Alves Date: Wed, 29 Feb 2012 16:21:00 -0000 Message-ID: <20120229162036.23918.1801.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: 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-02/txt/msg00712.txt.bz2 These methods are meant to be called from the testsuite, so there's really no header. 2012-02-29 Pedro Alves * observer.c (observer_test_first_notification_function) (observer_test_second_notification_function) (observer_test_third_notification_function): --- gdb/observer.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/gdb/observer.c b/gdb/observer.c index 4944480..276ca75 100644 --- a/gdb/observer.c +++ b/gdb/observer.c @@ -181,6 +181,11 @@ int observer_test_first_observer = 0; int observer_test_second_observer = 0; int observer_test_third_observer = 0; +/* Provide prototypes to silence -Wmissing-prototypes. */ +extern void observer_test_first_notification_function (int arg); +extern void observer_test_second_notification_function (int arg); +extern void observer_test_third_notification_function (int arg); + void observer_test_first_notification_function (int arg) {