Source-Changes-D archive

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

Re: CVS commit: src/sys/sys



In article <2017973.usQuhbGJ8B%britannica.bec.de@localhost>,
Joerg Sonnenberger  <joerg%bec.de@localhost> wrote:
>On Tuesday, January 2, 2024 8:27:57 PM CET Christos Zoulas wrote:
>> Module Name:	src
>> Committed By:	christos
>> Date:		Tue Jan  2 19:27:57 UTC 2024
>> 
>> Modified Files:
>> 	src/sys/sys: rbtree.h
>> 
>> Log Message:
>> This uses size_t, so it always needs <sys/types.h>, remove ifdefs.
>
>sys/types.h is one of the most polluting headers we have. This is a huge
>step backwards...

You realize of course that it was working before because it was getting
sys/types.h from sys/endian.h which had an include cycle before which I was
trying to fix. Now sys/endian.h does not include sys/types.h which is a step
forward. Yes, our headers are messy but we are trying to clean them.


Happy New Year,

christos



Home | Main Index | Thread Index | Old Index