Subject: Re: coding style - extern
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 09/08/1999 01:11:40
In article <199909072311.JAA22839@balrog.supp.cpr.itg.telecom.com.au>,
Simon Burge <simonb@netbsd.org> wrote:
>As a matter of style, should function declarations in header files
>(kernel or userland) be proceeded by an "extern"?  Ie, which of the
>following is ``better'' in a header file?
>
>	int foo __P((void));
>	extern int foo __P((void));

extern functions should omit the extern keyword; extern variables should not.

christos