This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [COMMIT PATCH] Move pagination_enabled declaration to a proper place.
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 01 Jul 2013 11:10:51 +0100
- Subject: Re: [COMMIT PATCH] Move pagination_enabled declaration to a proper place.
- References: <20130628172051 dot 6256 dot 96373 dot stgit at brno dot lan> <87sj02jfhe dot fsf at fleche dot redhat dot com>
On 06/28/2013 06:46 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> Declare it close to other related declarations in utils.h, and remove
> Pedro> local extern declaration hack.
>
> There's also a declaration in tui-regs.c.
Indeed, fixed.
Thanks,
Pedro Alves
---------
Delete pagination_enabled extern declaration in tui/tui-regs.c.
It's declared in utils.h.
gdb/
2013-07-01 Pedro Alves <palves@redhat.com>
* tui/tui-regs.c (pagination_enabled): Delete declaration.
---
gdb/tui/tui-regs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 975173a..bb72340 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -661,8 +661,6 @@ _initialize_tui_regs (void)
** STATIC LOCAL FUNCTIONS **
******************************************/
-extern int pagination_enabled;
-
static void
tui_restore_gdbout (void *ui)
{