* PATCH: Fix warning in printcmd.c
@ 2001-09-28 8:16 Tom Tromey
2001-09-28 10:37 ` Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2001-09-28 8:16 UTC (permalink / raw)
To: gdb-patches
This patch fixes a warning in printcmd.c. tui_set_layout isn't
declared anywhere it can see.
I rebuilt gdb with this patch on x86 Red Hat Linux 6.2.
This patch moves the declaration of tui_set_layout to a header
included by printcmd.c. It also removes the declaration of a couple
of functions that don't exist.
Ok to install?
Tom
Index: tui/ChangeLog
from Tom Tromey <tromey@redhat.com>
* tuiLayout.h (tui_set_layout): Don't declare.
* tui.h (tui_vAddWinToLayout): Don't declare.
(tui_vSetLayoutTo): Likewise.
(tui_set_layout): Declare.
Index: tui/tui.h
===================================================================
RCS file: /cvs/src/src/gdb/tui/tui.h,v
retrieving revision 1.10
diff -u -r1.10 tui.h
--- tui/tui.h 2001/07/23 21:13:57 1.10
+++ tui/tui.h 2001/09/28 15:14:14
@@ -126,8 +126,7 @@
extern void tui_vStartNewLines (va_list);
/* tuiLayout.c */
-extern void tui_vAddWinToLayout (va_list);
-extern TuiStatus tui_vSetLayoutTo (va_list);
+extern TuiStatus tui_set_layout (const char *);
/* tuiSourceWin.c */
extern void tuiDisplayMainFunction (void);
Index: tui/tuiLayout.h
===================================================================
RCS file: /cvs/src/src/gdb/tui/tuiLayout.h,v
retrieving revision 1.4
diff -u -r1.4 tuiLayout.h
--- tui/tuiLayout.h 2001/07/20 22:26:54 1.4
+++ tui/tuiLayout.h 2001/09/28 15:14:14
@@ -26,7 +26,6 @@
extern void tuiAddWinToLayout (TuiWinType);
extern int tuiDefaultWinHeight (TuiWinType, TuiLayoutType);
extern int tuiDefaultWinViewportHeight (TuiWinType, TuiLayoutType);
-extern TuiStatus tui_set_layout (const char *);
extern TuiStatus tuiSetLayout (TuiLayoutType, TuiRegisterDisplayType);
#endif /*TUI_LAYOUT_H */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PATCH: Fix warning in printcmd.c
2001-09-28 8:16 PATCH: Fix warning in printcmd.c Tom Tromey
@ 2001-09-28 10:37 ` Andrew Cagney
2001-09-28 10:40 ` Tom Tromey
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2001-09-28 10:37 UTC (permalink / raw)
To: tromey; +Cc: gdb-patches
> This patch fixes a warning in printcmd.c. tui_set_layout isn't
> declared anywhere it can see.
>
> I rebuilt gdb with this patch on x86 Red Hat Linux 6.2.
>
> This patch moves the declaration of tui_set_layout to a header
> included by printcmd.c. It also removes the declaration of a couple
> of functions that don't exist.
>
> Ok to install?
Yes, for sure.
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PATCH: Fix warning in printcmd.c
2001-09-28 10:37 ` Andrew Cagney
@ 2001-09-28 10:40 ` Tom Tromey
0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2001-09-28 10:40 UTC (permalink / raw)
To: Andrew Cagney; +Cc: gdb-patches
>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
>> Ok to install?
Andrew> Yes, for sure.
Thanks, done.
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-28 10:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-28 8:16 PATCH: Fix warning in printcmd.c Tom Tromey
2001-09-28 10:37 ` Andrew Cagney
2001-09-28 10:40 ` Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox