From owner-cvs-all Mon Sep 11 1:10:32 2000 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 2B6BA37B423; Mon, 11 Sep 2000 01:10:25 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id TAA24235; Mon, 11 Sep 2000 19:10:21 +1100 Date: Mon, 11 Sep 2000 19:10:20 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: John Baldwin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/libkern arc4random.c In-Reply-To: <200009110551.WAA27304@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. ( now has a gratuitous dependency on because it doesn't forward-declare "struct proc". has a not-so-gratuitous dependency on 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