Date: Sun, 24 Feb 2002 20:31:26 -0800 (PST) From: Bruce Evans <bde@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/common bootstrap.h Message-ID: <200202250431.g1P4VQU96821@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2002/02/24 20:31:25 PST
Modified files:
sys/boot/common bootstrap.h
Log:
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.
Revision Changes Path
1.35 +2 -0 src/sys/boot/common/bootstrap.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202250431.g1P4VQU96821>
