From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2262 invoked by alias); 22 Mar 2007 09:59:52 -0000 Received: (qmail 2250 invoked by uid 22791); 22 Mar 2007 09:59:50 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-04.spheriq.net (HELO lon-del-04.spheriq.net) (195.46.50.101) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 22 Mar 2007 09:59:45 +0000 Received: from lon-out-02.spheriq.net ([195.46.50.130]) by lon-del-04.spheriq.net with ESMTP id l2M9xfj7018735 for ; Thu, 22 Mar 2007 09:59:41 GMT Received: from lon-cus-02.spheriq.net (lon-cus-02.spheriq.net [195.46.50.38]) by lon-out-02.spheriq.net with ESMTP id l2M9xeoF017411 for ; Thu, 22 Mar 2007 09:59:40 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-02.spheriq.net with ESMTP id l2M9xdHC009856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 22 Mar 2007 09:59:40 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C7496DA41; Thu, 22 Mar 2007 09:59:38 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8694C47344; Thu, 22 Mar 2007 09:59:38 +0000 (GMT) Received: from [164.129.44.95] (crx595.cro.st.com [164.129.44.95]) by mail1.cro.st.com (MOS 3.7.5a-GA) with ESMTP id CKB29708 (AUTH "denis pilat"); Thu, 22 Mar 2007 10:59:37 +0100 (CET) Message-ID: <46025389.7070908@st.com> Date: Thu, 22 Mar 2007 09:59:00 -0000 From: Denis PILAT User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sourceware.org Subject: Re: [RFA] typo in gdb/utils.c References: <46014C60.3000904@st.com> <200703211625.l2LGPEL5008136@brahms.sibelius.xs4all.nl> In-Reply-To: <200703211625.l2LGPEL5008136@brahms.sibelius.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2007-03/txt/msg00194.txt.bz2 >> This trivial patch fixes a typo to declare pagination_off_command in >> gdb/utils.c >> > > Just whack the (redundant) prototype instead. > > I've removed both useless prototypes. Committed this morning, attached patch: -- Denis 2007-03-22 Denis Pilat * utils.c (pagination_on_command, pagination_off_command): Remove useless prototypes. Index: utils.c =================================================================== RCS file: /cvs/src/src/gdb/utils.c,v retrieving revision 1.174 diff -u -p -r1.174 utils.c --- utils.c 8 Feb 2007 16:18:56 -0000 1.174 +++ utils.c 22 Mar 2007 09:53:05 -0000 @@ -2440,15 +2440,12 @@ subset_compare (char *string_to_compare, return match; } - -static void pagination_on_command (char *arg, int from_tty); static void pagination_on_command (char *arg, int from_tty) { pagination_enabled = 1; } -static void pagination_on_command (char *arg, int from_tty); static void pagination_off_command (char *arg, int from_tty) {