Subject: Re: CVS commit: src/sys/sys (protosw.h:1.39)
To: None <source-changes@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: source-changes
Date: 08/29/2006 10:56:03
On Mon, Aug 28, 2006 at 20:29:29 -0700, Jason Thorpe wrote:
> Perhaps we should be using explicit structure initializers instead, e.g.
>
> struct foo aFoo = {
> .foo_field = 1,
> .foo_member = "woot",
> };
>
> Personally, I find:
>
> { .p_name = NULL }
>
> a lot nicer than
>
> { 0, NULL { 0, 0 }, NULL, { NULL, NULL } }
Absolutely.
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen