summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-02-02 10:13:42 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-02-02 10:13:42 +0000
commit2d417002bb62d294165cb3371f84bca61d769612 (patch)
tree6f77af1f86bdb512f77f3a6e2e031e6d5dabeda0
parent036b1d3300eea87bbd1666886ee843384ee0b848 (diff)
downloadirssi-2d417002bb62d294165cb3371f84bca61d769612.zip
Remove term-curses.h (was added for cuix).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4695 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-text/term-curses.c13
-rw-r--r--src/fe-text/term-curses.h11
2 files changed, 11 insertions, 13 deletions
diff --git a/src/fe-text/term-curses.c b/src/fe-text/term-curses.c
index 8856a236..71406c76 100644
--- a/src/fe-text/term-curses.c
+++ b/src/fe-text/term-curses.c
@@ -24,8 +24,11 @@
#include "term.h"
#include "mainwindows.h"
-#include "term-curses.h"
-
+#if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
+# include <ncurses.h>
+#else
+# include <curses.h>
+#endif
#include <termios.h>
#include <signal.h>
@@ -41,6 +44,12 @@
# define _POSIX_VDISABLE 0
#endif
+struct _TERM_WINDOW {
+ int x, y;
+ int width, height;
+ WINDOW *win;
+};
+
TERM_WINDOW *root_window;
static int curs_x, curs_y;
diff --git a/src/fe-text/term-curses.h b/src/fe-text/term-curses.h
deleted file mode 100644
index 4103b6d1..00000000
--- a/src/fe-text/term-curses.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
-# include <ncurses.h>
-#else
-# include <curses.h>
-#endif
-
-struct _TERM_WINDOW {
- int x, y;
- int width, height;
- WINDOW *win;
-};