From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11633 invoked by alias); 13 Aug 2010 20:46:51 -0000 Received: (qmail 11623 invoked by uid 22791); 13 Aug 2010 20:46:51 -0000 X-SWARE-Spam-Status: No, hits=-6.1 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; Fri, 13 Aug 2010 20:46:46 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7DKkio3007009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 Aug 2010 16:46:45 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o7DKkirQ021850; Fri, 13 Aug 2010 16:46:44 -0400 Received: from opsy.redhat.com (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 o7DKkhMg022837; Fri, 13 Aug 2010 16:46:44 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 78F7D3781C7; Fri, 13 Aug 2010 14:46:43 -0600 (MDT) From: Tom Tromey To: gdb-patches@sourceware.org Subject: FYI: remove unused declaration Date: Fri, 13 Aug 2010 20:46:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2010-08/txt/msg00199.txt.bz2 I'm checking this in. This declaration somehow snuck in. It is for a function that was on the old Python branch, but which we don't plan to incorporate into gdb. Tom 2010-08-13 Tom Tromey * python/python-internal.h (gdbpy_get_hook_function): Don't declare. Index: python/python-internal.h =================================================================== RCS file: /cvs/src/src/gdb/python/python-internal.h,v retrieving revision 1.31 diff -u -r1.31 python-internal.h --- python/python-internal.h 6 Jul 2010 19:03:12 -0000 1.31 +++ python/python-internal.h 13 Aug 2010 20:46:08 -0000 @@ -112,7 +112,6 @@ PyObject *gdbpy_inferiors (PyObject *unused, PyObject *unused2); PyObject *gdbpy_selected_thread (PyObject *self, PyObject *args); PyObject *gdbpy_string_to_argv (PyObject *self, PyObject *args); -PyObject *gdbpy_get_hook_function (const char *); PyObject *gdbpy_parameter (PyObject *self, PyObject *args); PyObject *gdbpy_parameter_value (enum var_types type, void *var); char *gdbpy_parse_command_name (char *text,