Source-Changes-D archive

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

Re: CVS commit: src/sys/kern

On Tue, Jan 18, 2011 at 05:33:05PM +0000, Antti Kantee wrote:
> Module Name:  src
> Committed By: pooka
> Date:         Tue Jan 18 17:33:05 UTC 2011
> Modified Files:
>       src/sys/kern: syscalls.conf
> Log Message:
> Make syscallargs.h include <sys/sched.h> for cpuset_t typedef for
> the benefit of ports where it does not get typedef'd via autoinclusion
> of other headers.

Isn't is better to to add a local definition for the struct, and
then use that instead of the typedef?

Any code that cares about the actual struct will have included the
header that contains the real definition.


David Laight:

Home | Main Index | Thread Index | Old Index