[openbeos] Re: -Wmissing-prototypes

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 31 Dec 2003 05:07:43 +0100 CET

"Andrew Bachmann" <shatty@xxxxxxxxxxxxx> wrote:
> And adding this line in front:
> 
> extern int function(void);
> 
> But this seems really stupid.  Does anyone have a strong 
> argument for preserving this warning?  

It's known as "good style" when put all of your function prototypes at 
the top of the file which is going to use it (or a header file).
I wouldn't like to remove the warning.

Bye,
   Axel.


Other related posts: