This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Cleanup display.c (and a bit of tracepoint.c too)


Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Tue, 18 Jul 2006 08:31:02 -0400
>> From: Daniel Jacobowitz <drow@false.org>
>> Cc: Mark Kettenis <mark.kettenis@xs4all.nl>, 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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]