about summary refs log tree commit diff stats
path: root/src/LYCurses.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1997-02-06 21:38:08 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1997-02-06 21:38:08 -0500
commit9c63ba04a5785f8ad069bf660402530617451a06 (patch)
tree8597ad92f9e4398c149583c22798d67e31e3dbad /src/LYCurses.c
parentc3ec4181d988501e4d7116f32c669d5ca69e7060 (diff)
downloadlynx-snapshots-9c63ba04a5785f8ad069bf660402530617451a06.tar.gz
snapshot of project "lynx", label v2_6fm_970206
Diffstat (limited to 'src/LYCurses.c')
-rw-r--r--src/LYCurses.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/LYCurses.c b/src/LYCurses.c
index 8ec8b4d2..d4bda6f1 100644
--- a/src/LYCurses.c
+++ b/src/LYCurses.c
@@ -394,7 +394,7 @@ PUBLIC BOOLEAN setup ARGS1(
      *  Get terminal type (strip 'dec-' from vms style types).
      */
     if (strncmp((CONST char*)ttytype, "dec-vt", 6) == 0) {
-	(void) setterm((char *)ttytype + 4);
+	(void) setterm(ttytype + 4);
     }
 #endif /* !NO_TTYTYPE */
 
@@ -485,13 +485,7 @@ PRIVATE int dumbterm ARGS1(
 #undef system
 #endif /* system */
 #include <processes.h>
-
-#ifndef CLI$M_TRUSTED
-#define CLI$M_TRUSTED 64 /* May not be in the compiler's clidef.h	*/
-#endif /* !CLI$M_TRUSTED */
-#ifndef LIB$_INVARG
-#define LIB$_INVARG 1409588
-#endif /* !LIB$_INVARG */
+#include "LYVMSdef.h"
 
 #define EFN	0			/* Event flag			*/