This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] typo in gdb/utils.c
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)
{