From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29959 invoked by alias); 18 Jul 2006 20:26:43 -0000 Received: (qmail 29951 invoked by uid 22791); 18 Jul 2006 20:26:42 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 18 Jul 2006 20:26:39 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 141771EC7E; Tue, 18 Jul 2006 22:26:36 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: Mark Kettenis , gdb-patches@sourceware.org Subject: Re: [commit] Cleanup display.c (and a bit of tracepoint.c too) References: <200607172216.k6HMGUfa023698@elgar.sibelius.xs4all.nl> <20060718123101.GA14653@nevyn.them.org> X-Yow: Look DEEP into the OPENINGS!! Do you see any ELVES or EDSELS... or a HIGHBALL??... Date: Tue, 18 Jul 2006 20:26:00 -0000 In-Reply-To: (Eli Zaretskii's message of "Tue, 18 Jul 2006 22:56:04 +0300") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00243.txt.bz2 Eli Zaretskii writes: >> Date: Tue, 18 Jul 2006 08:31:02 -0400 >> From: Daniel Jacobowitz >> Cc: Mark Kettenis , gdb-patches@sourceware.org >> >> > Aren't there compilers out there which insist on forward declarations >> > for static functions? >> >> I surely hope not; to the best of my understanding that would be a >> violation of the C standard. > > Which part of the standard invalidates that? The standard does not require it, so a conforming compiler must accept it. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."