Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2008 11:57:03 +0100
From:      "Ivan Voras" <ivoras@gmail.com>
To:        "Erik Trulsson" <ertr1013@student.uu.se>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r185356 - head/sys/dev/ixgbe
Message-ID:  <9bbcef730811270257v3d8694a5pa79f5976aa04787e@mail.gmail.com>
In-Reply-To: <20081127104606.GA71968@owl.midgard.homeip.net>
References:  <200811270219.mAR2Ji2M073024@svn.freebsd.org> <20081126213204.14db9a63@kan.dnsalias.net> <20081127.000621.1413927847.imp@bsdimp.com> <9bbcef730811270220h1a7f812k2ba340737132ff82@mail.gmail.com> <8663m94g30.fsf@ds4.des.no> <9bbcef730811270238k61c3e59fqee7715f017d70ccf@mail.gmail.com> <20081127104606.GA71968@owl.midgard.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/11/27 Erik Trulsson <ertr1013@student.uu.se>:
> On Thu, Nov 27, 2008 at 11:38:05AM +0100, Ivan Voras wrote:

>> if () {
>>   struct *something abc;
>>   int y;
>>   ...
>> }
>>
>> You'll probably find my code is one the biggest users of this style
>> but I've only started using it when I saw it already used.
>
> That construct is allowed in C89 as well.

Great! I always thought this was c99-specific.

I'll go ask Google for the documentation.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9bbcef730811270257v3d8694a5pa79f5976aa04787e>