aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui-curses.c7
-rw-r--r--vis.c7
2 files changed, 7 insertions, 7 deletions
diff --git a/ui-curses.c b/ui-curses.c
index 3cab014..3d144c0 100644
--- a/ui-curses.c
+++ b/ui-curses.c
@@ -21,6 +21,13 @@
# define MAX_COLOR_PAIRS COLOR_PAIRS
#endif
+#ifdef PDCURSES
+int ESCDELAY;
+#endif
+#ifndef NCURSES_REENTRANT
+# define set_escdelay(d) (ESCDELAY = (d))
+#endif
+
#if 0
#define wresize(win, y, x) do { \
if (wresize(win, y, x) == ERR) { \
diff --git a/vis.c b/vis.c
index 25b2ba0..5d8357d 100644
--- a/vis.c
+++ b/vis.c
@@ -38,13 +38,6 @@
#include "util.h"
#include "map.h"
-#ifdef PDCURSES
-int ESCDELAY;
-#endif
-#ifndef NCURSES_REENTRANT
-# define set_escdelay(d) (ESCDELAY = (d))
-#endif
-
typedef union {
bool b;
int i;