From: Martin Stromberg Message-Id: <200101261448.PAA05114@lws256.lu.erisoft.se> Subject: Re: lfilelen patch To: djgpp-workers AT delorie DOT com Date: Fri, 26 Jan 2001 15:48:17 +0100 (MET) In-Reply-To: <200101261427.JAA05798@envy.delorie.com> from "DJ Delorie" at Jan 26, 2001 09:27:40 AM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > What is the prototype above for? The function is defined immediately > > after... > > All functions must be prototyped, else they fail djgpp's massively > paranoid warning settings. However, prototypes for user-visible > functions should go in the appropriate header file; inline prototypes > are just for static functions. Are you sure? Because I think I've added static functions without prototypes... Doesn't the error come only when you _use_ the function before it's been declared or defined? Right, MartinS