From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5528 invoked by alias); 27 Oct 2011 15:32:12 -0000 Received: (qmail 5517 invoked by uid 22791); 27 Oct 2011 15:32:10 -0000 X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Thu, 27 Oct 2011 15:31:52 +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 p9RFVqcX029226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 27 Oct 2011 11:31:52 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p9RFVp69031887; Thu, 27 Oct 2011 11:31:52 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p9RFVoKm022002; Thu, 27 Oct 2011 11:31:51 -0400 From: Tom Tromey To: gdb-patches@sourceware.org Subject: FYI: remove some unused declarations from ada-lang.h Date: Thu, 27 Oct 2011 15:56:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: 2011-10/txt/msg00732.txt.bz2 I'm checking this in. While looking into all things decode_line_*, I ran across some declarations in ada-lang.h that do not have corresponding definitions. This patch removes these. Tested by rebuilding on x86-64 F15. Tom 2011-10-27 Tom Tromey * ada-lang.h (ada_start_decode_line_1, ada_finish_decode_line_1) (ada_sals_for_line): Remove declarations. Index: ada-lang.h =================================================================== RCS file: /cvs/src/src/gdb/ada-lang.h,v retrieving revision 1.67 diff -u -r1.67 ada-lang.h --- ada-lang.h 3 Oct 2011 21:38:31 -0000 1.67 +++ ada-lang.h 27 Oct 2011 15:30:46 -0000 @@ -238,15 +238,6 @@ extern int get_selections (int *, int, int, int, char *); -extern char *ada_start_decode_line_1 (char *); - -extern struct symtabs_and_lines ada_finish_decode_line_1 (char **, - struct symtab *, - int, char ***); - -extern struct symtabs_and_lines ada_sals_for_line (const char*, int, - int, char***, int); - extern int ada_scan_number (const char *, int, LONGEST *, int *); extern struct type *ada_parent_type (struct type *);