[news.software.b] Minor

fmbutt@mrbt.sw.stratus.com (Farooq Butt) (08/02/90)

____________________________________________________________________________

Hi there folks:

The following concerns Bnews 2.11.19: 

Did anyone notice (on a Sun running sunOS 4.1) that sleep() is used
before it is declared in "ifuncs.c"?  It is therefore implicitly
declared as int().  When I include "unistd.h" [[ to get lockf ]]
later, the Sun C compiler + make toss their cookies because of the
later redefinition of sleep (correctly) as "unsigned int."  I added 
a simple declaration which cures this.....

Whassup ?  I know this is a M I N O R annoyance but :-) 

Is this a honest-and-for-true-bug ???

--
Hi-Tech Disclaimer: NOTHING in the above article has any relationship
            to reality. If any reality correspondences are found, 
            please notify me IMMEDIATELY.  Any threats or abuse 
            of any kind is purely unintentional. My employer is not liable.