Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2000 19:10:20 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/libkern arc4random.c
Message-ID:  <Pine.BSF.4.21.0009111848490.818-100000@besplex.bde.org>
In-Reply-To: <200009110551.WAA27304@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Sep 2000, John Baldwin wrote:

> jhb         2000/09/10 22:51:58 PDT
> 
>   Modified files:
>     sys/libkern          arc4random.c 
>   Log:
>   Add #include's of sys/proc.h and sys/param.h to silence a warning.
>   
>   Revision  Changes    Path
>   1.5       +3 -1      src/sys/libkern/arc4random.c

#include's shouldn't be added or unsorted to work around new
misimplementations in headers.  (<sys/random.h> now has a gratuitous
dependency on <sys/proc.h> because it doesn't forward-declare
"struct proc".  <sys/ktr.h> has a not-so-gratuitous dependency on
<sys/systm.h> because it calls snprintf().  We hacked around the
corresponding problem for macros that call panic() by declaring
panic() in the wrong place.)

Bruce



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?Pine.BSF.4.21.0009111848490.818-100000>