changeset 30915:10dd42348df3

[HAVE_TERMCAP_H]: Include <termcap.h>. [!HAVE_TERMCAP_H]: Prototype tputs, tgoto.
author Dave Love <fx@gnu.org>
date Thu, 17 Aug 2000 14:04:16 +0000
parents 6362b1fc09f2
children d4a0bd8a25a3
files src/cm.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cm.c	Thu Aug 17 14:01:09 2000 +0000
+++ b/src/cm.c	Thu Aug 17 14:04:16 2000 +0000
@@ -27,13 +27,14 @@
 
 #ifdef HAVE_TERMCAP_H
 #include <termcap.h>
+#else
+extern void tputs P_ ((const char *, int, int (*)(int)));
+extern char *tgoto P_ ((const char *, int, int));
 #endif
 
 #define	BIG	9999		/* 9999 good on VAXen.  For 16 bit machines
 				   use about 2000.... */
 
-char *tgoto ();
-
 extern char *BC, *UP;
 
 int cost;		/* sums up costs */