Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 1997 07:40:20 -0500
From:      Ron Bolin <rbolin@netchannel.net>
To:        FreeBSD Current Mailing List <freebsd-current@freebsd.org>
Subject:   current usleep type conflict in unistd.h
Message-ID:  <3459D1B4.2195FA5A@netchannel.net>

next in thread | raw e-mail | index | archive | help
In building current from 10-30-97 I have the following error after doing
a make world.

/usleep.c -o usleep.po
/usr/src/lib/libc/../libc/gen/usleep.c:47: conflicting types for
`usleep'
/usr/include/unistd.h:191: previous declaration of `usleep'
*** Error code 1

In /usr/include/unistd.h the return type for usleep is void
void     usleep __P((unsigned int));

in usleep.c it is

int
usleep(useconds)

Will the real usleep please stand up and be identified.

Thanks

Ron




--
-------------------------------------------------------------------------------
Ron Bolin, Sr. Software Eng, NetChannel     Web: http://www.netchannel.net
E-mail: rbolin@netchannel.net               Web: http://www.gsu.edu/~gs01rlb
Ph: 770-729-2929 Ext 249 Hm: 770-992-6875   Web: http://www.mindspring.com/~rlb






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3459D1B4.2195FA5A>