This is the mail archive of the
mailing list for the GCC project.
Re: Prototypes [was Re: Patch for bugs 772 and 17913]
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: Gerald Pfeifer <gerald at pfeifer dot com>, Gábor Lóki<loki at inf dot u-szeged dot hu>, "Joseph S. Myers" <joseph at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>
- Date: Thu, 05 May 2005 13:03:19 -0700
- Subject: Re: Prototypes [was Re: Patch for bugs 772 and 17913]
- References: <Pine.LNX.firstname.lastname@example.org>
Roger Sayle wrote:
+ minimize the number of function prototypes, by defining them before
+ their first use. Static function prototypes should only be used
+ when necessary, to break mutually recursive cycles.</p>
I like it, except I wouldn't say "Static" function prototypes. Do you
mean the C keyword "static" (i.e., <code>static</code>)? Or should we
just drop the word entirely?