summaryrefslogtreecommitdiff
path: root/src/cm.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-08-17 14:04:16 +0000
committerDave Love <fx@gnu.org>2000-08-17 14:04:16 +0000
commit87dc6c9eca5d18fae1275082592f320ff7778f9e (patch)
tree4a3cede5ed6faac144fd33f5b283b33dcfb457cb /src/cm.c
parentb3303f74684a153fc48d2b1622760eca133ba0b2 (diff)
downloademacs-87dc6c9eca5d18fae1275082592f320ff7778f9e.tar.gz
[HAVE_TERMCAP_H]: Include <termcap.h>.
[!HAVE_TERMCAP_H]: Prototype tputs, tgoto.
Diffstat (limited to 'src/cm.c')
-rw-r--r--src/cm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cm.c b/src/cm.c
index 8ab302a6012..144baa847b5 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -27,13 +27,14 @@ Boston, MA 02111-1307, USA. */
#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 */