diff options
| author | Dave Love | 2000-08-17 14:04:16 +0000 |
|---|---|---|
| committer | Dave Love | 2000-08-17 14:04:16 +0000 |
| commit | 87dc6c9eca5d18fae1275082592f320ff7778f9e (patch) | |
| tree | 4a3cede5ed6faac144fd33f5b283b33dcfb457cb /src | |
| parent | b3303f74684a153fc48d2b1622760eca133ba0b2 (diff) | |
| download | emacs-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -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 | ||
| 31 | extern void tputs P_ ((const char *, int, int (*)(int))); | ||
| 32 | extern 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 | ||
| 35 | char *tgoto (); | ||
| 36 | |||
| 37 | extern char *BC, *UP; | 38 | extern char *BC, *UP; |
| 38 | 39 | ||
| 39 | int cost; /* sums up costs */ | 40 | int cost; /* sums up costs */ |