Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/sys (protosw.h:1.39)
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@localhost | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen
Home |
Main Index |
Thread Index |
Old Index