Subject: Re: CVS commit: src/sys/sys (protosw.h:1.39)
To: None <source-changes@NetBSD.org>
From: Geoff Wing <gcw@pobox.com>
List: source-changes
Date: 08/28/2006 13:37:41
On Monday 2006-08-28 13:08 +1000, Christos Zoulas output:
:In article <20060828013632.GA546@primenet.com.au>,
:Geoff Wing  <gcw@pobox.com> wrote:
:>On Monday 2006-08-28 09:55 +1000, Christos Zoulas output:
:>:	src/sys/sys: protosw.h
:>Presumably you're about to commit changes for:
[...]
:I compiled the DEBUG kernel just now and it seems to compile fine for me (i386).

Yeah, I only had a problem with netinet/in_proto.c when compiling a kernel but
I listed all with ones with empty trailing elements in the struct assignments,
i.e.  { a, b, c, }, ...   vs  { a, b, c }, ...
I guess it doesn't matter in practice since we only use gcc and gcc seems to
elide them.  Maybe it's a change in the C language in the last ten or
fifteen years which I just never noticed.  Seems a bit sloppy to me.

Regards,
Geoff