diff options
| author | Karl Heuer | 1996-07-16 22:37:24 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-07-16 22:37:24 +0000 |
| commit | 9f80a1c88958bd05242d96a22563e4fc178ad5e5 (patch) | |
| tree | 81b4614974e441b0f2e78e69273c81891e899af5 /src | |
| parent | ad4bf9a06194135d938ae4aedd2daa7b16819eeb (diff) | |
| download | emacs-9f80a1c88958bd05242d96a22563e4fc178ad5e5.tar.gz emacs-9f80a1c88958bd05242d96a22563e4fc178ad5e5.zip | |
Undo previous changes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 7 | ||||
| -rw-r--r-- | src/terminfo.c | 13 |
2 files changed, 2 insertions, 18 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 189fe583edd..5baf95c92b5 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -220,12 +220,7 @@ static int baud_convert[] = | |||
| 220 | }; | 220 | }; |
| 221 | #endif | 221 | #endif |
| 222 | 222 | ||
| 223 | #ifdef HAVE_TERMIOS | 223 | extern short ospeed; |
| 224 | # include <termios.h> | ||
| 225 | extern speed_t ospeed; | ||
| 226 | #else | ||
| 227 | extern short ospeed; | ||
| 228 | #endif | ||
| 229 | 224 | ||
| 230 | /* The file descriptor for Emacs's input terminal. | 225 | /* The file descriptor for Emacs's input terminal. |
| 231 | Under Unix, this is normally zero except when using X; | 226 | Under Unix, this is normally zero except when using X; |
diff --git a/src/terminfo.c b/src/terminfo.c index 5f2d5e00955..8ce87960f03 100644 --- a/src/terminfo.c +++ b/src/terminfo.c | |||
| @@ -22,19 +22,8 @@ Boston, MA 02111-1307, USA. */ | |||
| 22 | so that we do not need to conditionalize the places in Emacs | 22 | so that we do not need to conditionalize the places in Emacs |
| 23 | that set them. */ | 23 | that set them. */ |
| 24 | 24 | ||
| 25 | #include <config.h> | ||
| 26 | |||
| 27 | #ifdef USG | ||
| 28 | # include <string.h> | ||
| 29 | #endif | ||
| 30 | |||
| 31 | char *UP, *BC, PC; | 25 | char *UP, *BC, PC; |
| 32 | #ifdef HAVE_TERMIOS | 26 | short ospeed; |
| 33 | # include <termios.h> | ||
| 34 | speed_t ospeed; | ||
| 35 | #else | ||
| 36 | short ospeed; | ||
| 37 | #endif | ||
| 38 | 27 | ||
| 39 | static buffer[512]; | 28 | static buffer[512]; |
| 40 | 29 | ||