aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2000-08-17 14:04:16 +0000
committerDave Love2000-08-17 14:04:16 +0000
commit87dc6c9eca5d18fae1275082592f320ff7778f9e (patch)
tree4a3cede5ed6faac144fd33f5b283b33dcfb457cb /src
parentb3303f74684a153fc48d2b1622760eca133ba0b2 (diff)
downloademacs-87dc6c9eca5d18fae1275082592f320ff7778f9e.tar.gz
emacs-87dc6c9eca5d18fae1275082592f320ff7778f9e.zip
[HAVE_TERMCAP_H]: Include <termcap.h>.
[!HAVE_TERMCAP_H]: Prototype tputs, tgoto.
Diffstat (limited to 'src')
-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. */
27 27
28#ifdef HAVE_TERMCAP_H 28#ifdef HAVE_TERMCAP_H
29#include <termcap.h> 29#include <termcap.h>
30#else
31extern void tputs P_ ((const char *, int, int (*)(int)));
32extern char *tgoto P_ ((const char *, int, int));
30#endif 33#endif
31 34
32#define BIG 9999 /* 9999 good on VAXen. For 16 bit machines 35#define BIG 9999 /* 9999 good on VAXen. For 16 bit machines
33 use about 2000.... */ 36 use about 2000.... */
34 37
35char *tgoto ();
36
37extern char *BC, *UP; 38extern char *BC, *UP;
38 39
39int cost; /* sums up costs */ 40int cost; /* sums up costs */