Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/sys
On Feb 18, 2011, at 7:39 PM, Jukka Ruohonen wrote:
> On Sat, Feb 19, 2011 at 02:01:46AM +0000, Matt Thomas wrote:
>> Module Name: src
>> Committed By: matt
>> Date: Sat Feb 19 02:01:46 UTC 2011
>>
>> Modified Files:
>> src/sys/sys: cdefs.h
>>
>> Log Message:
>> Add __CTASSERT(x)
>
> Why can't there be just a single CTASSERT(x)? Alternatively, a lower-case
> ___ctassert(x) would perhaps be better for userspace, given the existing
> practices used in cdefs(3).
CTASSERT violates the user namespace hence __CTASSERT.
I could undefine CTASSERT for the kernel but that would mean changing
a bunch of code so adding a CTASSERT alias was easier.
Home |
Main Index |
Thread Index |
Old Index