diff options
| author | Dave Love | 2000-10-06 22:53:30 +0000 |
|---|---|---|
| committer | Dave Love | 2000-10-06 22:53:30 +0000 |
| commit | 937b14320760c3b31d1b79fc98324578f4558ef1 (patch) | |
| tree | 75091663fc7e8aeb6e114ba167c693201b48af03 /src | |
| parent | 789cf8081569b079ac3ed977642a6c88c741462c (diff) | |
| download | emacs-937b14320760c3b31d1b79fc98324578f4558ef1.tar.gz emacs-937b14320760c3b31d1b79fc98324578f4558ef1.zip | |
(ospeed): Don't declare.
Diffstat (limited to 'src')
| -rw-r--r-- | src/terminfo.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/terminfo.c b/src/terminfo.c index eed22afffa8..17ce16dabd6 100644 --- a/src/terminfo.c +++ b/src/terminfo.c | |||
| @@ -27,24 +27,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 27 | 27 | ||
| 28 | char *UP, *BC, PC; | 28 | char *UP, *BC, PC; |
| 29 | 29 | ||
| 30 | #ifdef HAVE_SPEED_T | ||
| 31 | #include <termios.h> | ||
| 32 | speed_t ospeed; | ||
| 33 | #else | ||
| 34 | #if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T) | ||
| 35 | short ospeed; | ||
| 36 | #else | ||
| 37 | #if defined (HAVE_TERMIOS_H) && defined (LINUX) | ||
| 38 | #include <termios.h> | ||
| 39 | /* HJL's version of libc is said to need this on the Alpha. | ||
| 40 | On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short. */ | ||
| 41 | speed_t ospeed; | ||
| 42 | #else | ||
| 43 | short ospeed; | ||
| 44 | #endif | ||
| 45 | #endif | ||
| 46 | #endif | ||
| 47 | |||
| 48 | /* Interface to curses/terminfo library. | 30 | /* Interface to curses/terminfo library. |
| 49 | Turns out that all of the terminfo-level routines look | 31 | Turns out that all of the terminfo-level routines look |
| 50 | like their termcap counterparts except for tparm, which replaces | 32 | like their termcap counterparts except for tparm, which replaces |