* tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare.
authorStephane Carrez <stcarrez@nerim.fr>
Sun, 25 Aug 2002 08:44:44 +0000 (08:44 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Sun, 25 Aug 2002 08:44:44 +0000 (08:44 +0000)
(tuiShowAllExecInfosContent): Likewise.
* tuiSourceWin.c (tuiEraseAllSourceContent): Remove.
(tuiShowAllExecInfosContent): Remove.
(tuiAllocSourceBuffer): Remove unused locals.

gdb/tui/ChangeLog
gdb/tui/tuiSourceWin.c
gdb/tui/tuiSourceWin.h

index 58bc5efacdb99de78e1177b589c590fe51faa5a8..619f6a04854f0e74f5ca91d50ed8f50d946c56af 100644 (file)
@@ -1,3 +1,11 @@
+2002-08-25  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare.
+       (tuiShowAllExecInfosContent): Likewise.
+       * tuiSourceWin.c (tuiEraseAllSourceContent): Remove.
+       (tuiShowAllExecInfosContent): Remove.
+       (tuiAllocSourceBuffer): Remove unused locals.
+       
 2002-08-25  Stephane Carrez  <stcarrez@nerim.fr>
 
        * tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command
index e91cfe9b458323239521bb4de2a131ea48b2b490..1f17d30abdc70529afd5d1869f4ecee0d5703764 100644 (file)
@@ -302,22 +302,6 @@ tuiEraseSourceContent (TuiWinInfoPtr winInfo, int displayPrompt)
 }                              /* tuiEraseSourceContent */
 
 
-/*
-   ** tuiEraseAllSourceContent().
- */
-void
-tuiEraseAllSourceWinsContent (int displayPrompt)
-{
-  int i;
-
-  for (i = 0; i < (sourceWindows ())->count; i++)
-    tuiEraseSourceContent ((TuiWinInfoPtr) (sourceWindows ())->list[i],
-                          displayPrompt);
-
-  return;
-}                              /* tuiEraseAllSourceWinsContent */
-
-
 /* Redraw the complete line of a source or disassembly window.  */
 static void
 tui_show_source_line (TuiWinInfoPtr winInfo, int lineno)
@@ -606,21 +590,6 @@ tuiShowExecInfoContent (TuiWinInfoPtr winInfo)
 }                              /* tuiShowExecInfoContent */
 
 
-/*
-   ** tuiShowAllExecInfosContent()
- */
-void
-tuiShowAllExecInfosContent (void)
-{
-  int i;
-
-  for (i = 0; i < (sourceWindows ())->count; i++)
-    tuiShowExecInfoContent ((TuiWinInfoPtr) (sourceWindows ())->list[i]);
-
-  return;
-}                              /* tuiShowAllExecInfosContent */
-
-
 /*
    ** tuiEraseExecInfoContent().
  */
@@ -676,8 +645,8 @@ tuiUpdateAllExecInfos (void)
 TuiStatus
 tuiAllocSourceBuffer (TuiWinInfoPtr winInfo)
 {
-  register char *srcLine, *srcLineBuf;
-  register int i, lineWidth, c, maxLines;
+  register char *srcLineBuf;
+  register int i, lineWidth, maxLines;
   TuiStatus ret = TUI_FAILURE;
 
   maxLines = winInfo->generic.height;  /* less the highlight box */
index 850331918282412d408ec556f8d8e4d340e53d7d..b8c20c85a7dc693c59e435f69a5884ad4b26d9dd 100644 (file)
@@ -32,14 +32,12 @@ extern void tuiUpdateSourceWindowsWithLine (struct symtab *, int);
 extern void tuiUpdateSourceWindowsFromLocator (void);
 extern void tuiClearSourceContent (TuiWinInfoPtr, int);
 extern void tuiEraseSourceContent (TuiWinInfoPtr, int);
-extern void tuiEraseAllSourceWinsContent (int);
 extern void tuiSetSourceContentNil (TuiWinInfoPtr, char *);
 extern void tuiShowSourceContent (TuiWinInfoPtr);
 extern void tuiHorizontalSourceScroll (TuiWinInfoPtr, TuiScrollDirection,
                                       int);
 extern TuiStatus tuiSetExecInfoContent (TuiWinInfoPtr);
 extern void tuiShowExecInfoContent (TuiWinInfoPtr);
-extern void tuiShowAllExecInfosContent (void);
 extern void tuiEraseExecInfoContent (TuiWinInfoPtr);
 extern void tuiEraseAllExecInfosContent (void);
 extern void tuiClearExecInfoContent (TuiWinInfoPtr);
This page took 0.026607 seconds and 4 git commands to generate.