From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12197 invoked by alias); 18 Jul 2006 20:00:49 -0000 Received: (qmail 12187 invoked by uid 22791); 18 Jul 2006 20:00:49 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 18 Jul 2006 20:00:47 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1G2vkK-0006tM-6l; Tue, 18 Jul 2006 16:00:44 -0400 Date: Tue, 18 Jul 2006 20:00:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: Mark Kettenis , gdb-patches@sourceware.org Subject: Re: [commit] Cleanup display.c (and a bit of tracepoint.c too) Message-ID: <20060718200044.GA26378@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , Mark Kettenis , gdb-patches@sourceware.org References: <200607172216.k6HMGUfa023698@elgar.sibelius.xs4all.nl> <20060718123101.GA14653@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 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/msg00241.txt.bz2 On Tue, Jul 18, 2006 at 10:56:04PM +0300, Eli Zaretskii wrote: > > 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? I don't know. I am hopeless at finding things in the ISO C standard; I tried. But that's my impression, and I've never seen a report to the contrary. If we get a complaint from a compiler worth supporting, I'll personally put them all back! :-) -- Daniel Jacobowitz CodeSourcery