Subject: Re: CVS commit: src/sys/sys (protosw.h:1.39)
To: Jason Thorpe <thorpej@shagadelic.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 08/29/2006 04:44:40
On Aug 28,  8:29pm, thorpej@shagadelic.org (Jason Thorpe) wrote:
-- Subject: Re: CVS commit: src/sys/sys (protosw.h:1.39)

| 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 } }

I will do this from now on (specially for the big structs).

christos