]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Declare time(not3) instead of depending on namespace pollution 3 layers
authorbde <bde@FreeBSD.org>
Mon, 25 Feb 2002 04:31:25 +0000 (04:31 +0000)
committerbde <bde@FreeBSD.org>
Mon, 25 Feb 2002 04:31:25 +0000 (04:31 +0000)
commit1d63dbb1d3cc62338c26c5d3982c5725d6aa96e0
tree98a91471966bbbb9463247ea3fc992c0ba38341f
parent3e9af13b4e1179218cba63824fd13e87dfc7b7dd
Declare time(not3) instead of depending on namespace pollution 3 layers
deep in <stand.h> to eventually include <time.h> to declare the user
version.

This is not quite the right place to declare it, but <stand.h> would
be worse because time() is very MD so it isn't in libstand.

Many places in the boot sources still get the user version using only
1 layer of pollution (#include <sys/time.h>.  Some pollute themselves
directly (#include <time.h>).  But the boot Makefiles are too broken
to enable warnings for redeclarations.
sys/boot/common/bootstrap.h