Re: kern/104436: [PATCH] sys/sem.h should include sys/types.h

From: Bruce Evans <bde_at_zeta.org.au>
Date: Tue, 17 Oct 2006 12:41:04 +1000 (EST)
On Tue, 17 Oct 2006, Cheng-Lung Sung wrote:

> On Mon, Oct 16, 2006 at 02:31:24PM -0400, John Baldwin wrote:
>> Is this better?
>> ...
>    Thanks, I didn't go through the whole sem.h.
>    Also, it seems we should put these parts before 'sturct semid_ds'.
>    or say, after we include sys/ipc.h (which include sys/_types.h)

Yes, that is especially needed for time_t, since it is the only one of
the typedef'ed types used early in sys/sem.h.  The others might be needed
later when the non-typedefed types are cleaned up.  (sys/ipc.h needs
cleaning up more.  It still spells uid_t as "unsigned short", but uids
aren't that short...)

Bruce
Received on Tue Oct 17 2006 - 00:41:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:01 UTC