Re: 1.2.13 -> 2.0.27 breaks termcap?

Jon Lewis (
Sun, 26 Jan 1997 03:24:58 -0500 (EST)

On Sat, 25 Jan 1997, Britton wrote:

> extern char PC;
> #ifdef __linux__
> extern speed_t ospeed; /* THIS IS LINE 39 */
> #else
> extern short ospeed;

Looks like a bug in the old include files vs newer kernel includes. The
1.2.13 kernel source has:
./include/linux/types.h:typedef unsigned int speed_t;

If you upgrade to libc 5.4.x, you should have a newer termcap.h that just
defines ospeed as

extern short ospeed;

Why whas the type changed and the typedef removed from the kernel source?

Jon Lewis <> | Unsolicited commercial e-mail will
Network Administrator | be proof-read for $199/hr.
________Finger for PGP public key_______