aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui.h')
-rw-r--r--gdb/tui/tui.h28
1 files changed, 1 insertions, 27 deletions
diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h
index 07aa41a..8af18e9 100644
--- a/gdb/tui/tui.h
+++ b/gdb/tui/tui.h
@@ -21,18 +21,9 @@
#ifndef TUI_H
#define TUI_H
-#if defined (HAVE_NCURSES_H)
-#include <ncurses.h>
-#elif defined (HAVE_CURSES_H)
-#include <curses.h>
-#endif
-#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
+#include <string.h>
#include "ansidecl.h"
#if defined(reg)
@@ -97,23 +88,6 @@ TuiWinType, *TuiWinTypePtr;
}
TuiPoint, *TuiPointPtr;
-/* Generic window information */
- typedef struct _TuiGenWinInfo
- {
- WINDOW *handle; /* window handle */
- TuiWinType type; /* type of window */
- int width; /* window width */
- int height; /* window height */
- TuiPoint origin; /* origin of window */
- OpaquePtr content; /* content of window */
- int contentSize; /* Size of content (# of elements) */
- int contentInUse; /* Can it be used, or is it already used? */
- int viewportHeight; /* viewport height */
- int lastVisibleLine; /* index of last visible line */
- int isVisible; /* whether the window is visible or not */
- }
-TuiGenWinInfo, *TuiGenWinInfoPtr;
-
/* GENERAL TUI FUNCTIONS */
/* tui.c */
extern void tuiInit (char *argv0);