Subject: Re: c-style question
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 11/20/2001 02:32:06
In article <tkrwv0mgs7l.fsf@parity-error.sm.sony.co.jp>,
enami tsugutomo <enami@sm.sony.co.jp> wrote:
>Simon Burge <simonb@wasabisystems.com> writes:
>
>> In KNF, do we prefer either
>>
>> (*platform.cons_init)();
>> or
>> platform.cons_init();
>>
>> when cons_init is a function pointer?
>
>Former is the style used in BSD tree (since the latter isn't valid in
>old C syntax). I prefer the former since it is easier to read for me.
I agree 100%
christos