This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Remove ctime declaration in libgcc2.c


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

|>     Does it work to include <time.h> instead?  That would be The Right Thing
|>     in the context of the C standard.
|> 
|> I was told that it doesn't work: not all systems have it.

And what if ctime is declared without prototype?  IIRC gcc special cases
this to never conflict with a previous prototype.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


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