lkml.org 
[lkml]   [1997]   [Jan]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 26 Jan 1997 03:24:58 -0500 (EST)
FromJon Lewis <>
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 <jlewis@fdt.net>  |  Unsolicited commercial e-mail will
 Network Administrator       |  be proof-read for $199/hr.
________Finger jlewis@inorganic5.fdt.net for PGP public key_______

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.243 / U:0.030 seconds]
©2003-2008 Jasper Spaans