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 Tue, May 19, 2015 at 11:35:11PM +0000, Taylor R Campbell wrote:
> Module Name:	src
> Committed By:	riastradh
> Date:		Tue May 19 23:35:11 UTC 2015
> 
> Modified Files:
> 	src/sys/sys: time.h
> 
> Log Message:
> Avoid C99 initializers outside _KERNEL.

Two comments. First: C99 initializers are not valid C++, which makes it
even more problematic. Second, can't you just write them as plain struct
init? It's unlikely that the structures will grow more entries after
all...

Joerg


Home | Main Index | Thread Index | Old Index