Re: Silly typo in /usr/include/sched.h

Aaron M. Ucko (amu@mit.edu)
09 Jun 1997 15:18:09 -0400


"Thaddeus H. Wood" <thw@sentient.com> writes:

> On line 36 of /usr/include/sched.h:
> extern int sched_get_priority_min _P((int __policy));
> should read:
> extern int sched_get_priority_min __P((int __policy));
>
> The missing underscore being the problem. I'm not sure which Linux
> distributions are effected. However, as of RedHat 4.2/Intel this typo
> lives on.

This is a bug in some versions of libc and is not relevant to
linux-kernel. linux-gcc@vger.rutgers.edu is a more appropriate forum.
(BTW, it's fixed in newer libc versions)

-- 
Aaron M. Ucko (amu@mit.edu) | For Geek Code, PGP public key, and other info,
finger amu@monk.mit.edu. | "Kids! Bringing about Armageddon can be dangerous.
Do not attempt it in your home." -- T. Pratchett & N. Gaiman, _Good Omens_