[lkml]   [1997]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 1.2.13 -> 2.0.27 breaks termcap?
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_______

 \ /
  Last update: 2005-03-22 13:38    [W:0.020 / U:3.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site