Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys

Bill Stouder-Studenmund wrote:
> Module Name:  src
> Committed By: wrstuden
> Date:         Wed Oct 15 20:32:46 UTC 2008
> Modified Files:
>       src/sys/sys: lwp.h
> Log Message:
> Pre-declare struct sadata_vp here so we avoid a circular dependency
> between this file and savar.h. This lets lwp.h stand on its own.
> I do not understand why compiling kernels on i386 did not catch this.

This doesn't fix anything. i386 doesn't catch this, because a pointer
size is known. arm still doesn't build because it dereferences sadata_vp.
For dereferencing the compiler has to know the struct definition.

Home | Main Index | Thread Index | Old Index