Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Denis PILAT <denis.pilat@st.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] typo in gdb/utils.c
Date: Thu, 22 Mar 2007 09:59:00 -0000	[thread overview]
Message-ID: <46025389.7070908@st.com> (raw)
In-Reply-To: <200703211625.l2LGPEL5008136@brahms.sibelius.xs4all.nl>


>> 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  <denis.pilat@st.com>

	* 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)
 {



  reply	other threads:[~2007-03-22  9:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21 15:17 Denis PILAT
2007-03-21 15:27 ` Denis PILAT
2007-03-21 17:11   ` Andreas Schwab
2007-03-21 16:25 ` Mark Kettenis
2007-03-22  9:59   ` Denis PILAT [this message]
2007-03-22 11:19     ` Mark Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46025389.7070908@st.com \
    --to=denis.pilat@st.com \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox